This commit is contained in:
Luna 2021-08-29 13:00:29 -03:00
parent 495f0d4b8c
commit 1a95e95303
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ async def around_message_search(
after_messages = await message_search(
channel_id, before=None, after=around_id, limit=halved_limit, order="ASC"
)
return reversed(before_messages) + [around_id] + after_messages
return list(reversed(before_messages)) + [around_id] + after_messages
@bp.route("/<int:channel_id>/messages", methods=["GET"])