diff --git a/naff/models/discord/channel.py b/naff/models/discord/channel.py index 5581115d9..3e60220d4 100644 --- a/naff/models/discord/channel.py +++ b/naff/models/discord/channel.py @@ -305,7 +305,9 @@ async def fetch_messages( elif after: after = to_snowflake(after) - messages_data = await self._client.http.get_channel_messages(self.id, limit, around, before, after) + messages_data = await self._client.http.get_channel_messages( + self.id, limit, around=around, before=before, after=after + ) for m in messages_data: m["guild_id"] = self._guild_id