diff options
| author | Rapptz <[email protected]> | 2015-10-05 03:29:04 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-10-05 03:29:04 -0400 |
| commit | 7b3f31f25c27efcee2aa3dfb2c521874d8706892 (patch) | |
| tree | fdb846219ec514d97393bd3c95f490f744b9abbd /examples/reply.py | |
| parent | Fix echo example to not infinitely loop. (diff) | |
| download | discord.py-7b3f31f25c27efcee2aa3dfb2c521874d8706892.tar.xz discord.py-7b3f31f25c27efcee2aa3dfb2c521874d8706892.zip | |
Make reply example a bit more meaningful.
Diffstat (limited to 'examples/reply.py')
| -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 c279245c..f3f56c72 100644 --- a/examples/reply.py +++ b/examples/reply.py @@ -6,7 +6,7 @@ client.login('email', 'password') @client.event def on_message(message): if message.content.startswith('!hello'): - client.send_message(message.channel, 'Hello was received!') + client.send_message(message.channel, 'Hello {}!'.format(message.author.mention())) @client.event def on_ready(): |