aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 14b55fe9..946ed3bc 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -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: