Skip to content

Commit 98715e0

Browse files
committed
Merge branch 'stable' into unstable
2 parents 9b5106d + 43a565c commit 98715e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
# You can provide the name of the event, prefixed by an "on_", or by telling the event decorator what event it is.
2323
@interactions.listen()
2424
async def on_ready():
25-
# We can use the client "me" attribute to get information about the bot.
26-
print(f"We're online! We've logged in as {client.me.name}.")
25+
# We can use the client "app" attribute to get information about the bot.
26+
print(f"We're online! We've logged in as {client.app.name}.")
2727

2828
# We're also able to use property methods to gather additional data.
2929
print(f"Our latency is {round(client.latency)} ms.")

0 commit comments

Comments
 (0)