mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
make examples on_ready consistent
This commit is contained in:
1 parent
eb5356cc47
commit
1952060e1a
8 files changed
+12
-20
No files matched your search
@@ -128,7 +128,9 @@ bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"),
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
print(f'Logged in as {bot.user} ({bot.user.id})')
|
||||
print('Logged in as')
|
||||
print(bot.user.name)
|
||||
print(bot.user.id)
|
||||
print('------')
|
||||
|
||||
bot.add_cog(Music(bot))
|
||||
|
||||
Reference in new issue
Block a user