mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-02 16:23:29 +00:00
Remove incorrect extraneous usage of reason keyword argument.
Fixes #726
This commit is contained in:
@ -202,7 +202,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
||||
|
||||
if len(messages) == 1:
|
||||
message_id = messages[0].id
|
||||
yield from self._state.http.delete_message(self.id, message_id, reason=reason)
|
||||
yield from self._state.http.delete_message(self.id, message_id)
|
||||
return
|
||||
|
||||
if len(messages) > 100:
|
||||
|
Reference in New Issue
Block a user