mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 18:29:52 +00:00
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
|
@client.event
|
||||||
async def on_ready():
|
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
|
@client.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user