Make on_ready examples consistent

This commit is contained in:
pikaninja 2021-06-27 20:59:17 -07:00 committed by GitHub
parent 47e6a754e4
commit caa9512a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -16,9 +16,7 @@ bot = commands.Bot(command_prefix='?', description=description, intents=intents)
@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)
print(f'Logged in as {bot.user} (ID: {bot.user.id})')
print('------')
@bot.command()

View File

@ -128,9 +128,7 @@ bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"),
@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)
print(f'Logged in as {bot.user} (ID: {bot.user.id})')
print('------')
bot.add_cog(Music(bot))