mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-28 15:59:04 +00:00
Change reply example to use replies
This commit is contained in:
1 parent
a4cb71b64e
commit
169b61092a
1 file changed
+1
-1
+1
-1
@@ -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')
|
||||
Reference in new issue
Block a user