mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Remove incorrect extraneous usage of reason keyword argument.
Fixes #726
This commit is contained in:
parent
13c6a0a17a
commit
3b3b8a5150
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user