mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Fix format string in documentation.
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user