mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Formatting change
This commit is contained in:
parent
f94303da60
commit
85f7fc9430
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ async def on_ready():
|
|||
@bot.event
|
||||
async def on_error(error, *args, **kwargs):
|
||||
if isinstance(bot.get_channel(u.config['shutdown_channel']), d.TextChannel):
|
||||
await bot.get_channel(u.config['shutdown_channel']).send('**__ERROR__** ⚠️ {}\n**Exiting. . .**'.format(error))
|
||||
await bot.get_channel(u.config['shutdown_channel']).send('**ERROR** ⚠️ {}'.format(error))
|
||||
u.close()
|
||||
await bot.logout()
|
||||
await bot.close()
|
||||
|
|
Loading…
Reference in a new issue