diff options
| author | SNVMK <[email protected]> | 2020-11-28 11:16:14 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-28 03:16:14 -0500 |
| commit | 169b61092a9b34e519fffa1771b7e23f77823bc3 (patch) | |
| tree | 0b6e572fbf67de3677be48e3c39c4ed40e94a79c | |
| parent | Fix Message.to_reference from the MessageReference changes (diff) | |
| download | discord.py-169b61092a9b34e519fffa1771b7e23f77823bc3.tar.xz discord.py-169b61092a9b34e519fffa1771b7e23f77823bc3.zip | |
Change reply example to use replies
| -rw-r--r-- | examples/reply.py | 2 |
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') |