diff --git a/discord/channel.py b/discord/channel.py index b6489b4..c74f239 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -502,7 +502,7 @@ async def fast_purge(self, messages: List[Message], proxy: Optional[str] = None, lock = Lock() async def do_purge(messages: List[int]) -> None: async with lock: - await self._state.http.delete_messages(self.id, messages, proxy, reason) + await self._state.http.delete_messages(channel_id = self.id, message_ids = messages, proxy = proxy, reason = reason) return await gather(*[do_purge(_) for _ in chunks]) del chunks