Added iter for DB
This commit is contained in:
4
bot.py
4
bot.py
@@ -32,13 +32,9 @@ asyncio.run(work_with_cogs('load', bot))
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
slash_commands = '\n\t* '.join(f'{r.name}: {r.description}' for r in bot.slash_commands)
|
||||
_commands = '\n\t* '.join(f'{r.name}: {r.description}' for r in bot.commands)
|
||||
logger.info(f'Bot started')
|
||||
logger.info('We have logged in as {0.user}'.format(bot))
|
||||
logger.info('Version of bot is - v{0.major}.{0.minor}.{0.micro}-{0.releaselevel}'.format(version_info))
|
||||
logger.info(f'list of all slash commands: \n\t* {slash_commands}')
|
||||
logger.info(f'list of all commands: \n\t* {_commands}')
|
||||
|
||||
|
||||
@bot.slash_command(
|
||||
|
||||
Reference in New Issue
Block a user