aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/reply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/reply.py b/examples/reply.py
index c8f903f8..5ea764a1 100644
--- a/examples/reply.py
+++ b/examples/reply.py
@@ -13,7 +13,7 @@ class MyClient(discord.Client):
return
if message.content.startswith('!hello'):
- await message.channel.send('Hello {0.author.mention}'.format(message))
+ await message.reply('Hello!', mention_author=True)
client = MyClient()
client.run('token')