aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-12 21:11:22 -0400
committerRapptz <[email protected]>2017-05-12 21:12:28 -0400
commitcf2269fdf48429b9fd5527d9c87a20eb59140e47 (patch)
tree120f8746506412d05677b150ca10efad7f90a05f /discord
parentFix dead cross-reference links in the migrating page. (diff)
downloaddiscord.py-cf2269fdf48429b9fd5527d9c87a20eb59140e47.tar.xz
discord.py-cf2269fdf48429b9fd5527d9c87a20eb59140e47.zip
Fix some left over incorrect snippets.
Diffstat (limited to 'discord')
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 49b0ab40..4391b847 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -242,7 +242,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
return m.author == client.user
deleted = await channel.purge(limit=100, check=is_me)
- await channel.send_message('Deleted {} message(s)'.format(len(deleted)))
+ await channel.send('Deleted {} message(s)'.format(len(deleted)))
Returns
--------