aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 32560099..cae978f1 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -849,7 +849,7 @@ class Client:
return m.content == 'hello' and m.channel == channel
msg = await client.wait_for('message', check=check)
- await channel.send('Hello {.author}!'.format(msg))
+ await channel.send(f'Hello {msg.author}!')
Waiting for a thumbs up reaction from the message author: ::