Change reply example to use replies
This commit is contained in:
parent
a4cb71b64e
commit
169b61092a
@ -13,7 +13,7 @@ class MyClient(discord.Client):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if message.content.startswith('!hello'):
|
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 = MyClient()
|
||||||
client.run('token')
|
client.run('token')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user