Fix format string in documentation.
This commit is contained in:
parent
c1dad43f9d
commit
efe8fbf6ed
@ -23,7 +23,7 @@ It looks something like this:
|
||||
|
||||
@client.event
|
||||
async def on_ready():
|
||||
print('We have logged in as {0.user}'.format(self))
|
||||
print('We have logged in as {0.user}'.format(client))
|
||||
|
||||
@client.event
|
||||
async def on_message(message):
|
||||
|
Loading…
x
Reference in New Issue
Block a user