Change reply example to use replies

This commit is contained in:
SNVMK 2020-11-28 11:16:14 +03:00 committed by GitHub
parent a4cb71b64e
commit 169b61092a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')