1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Added check for shutdown output

This commit is contained in:
Myned 2017-09-27 14:49:21 -04:00
parent 3c2f5c5cc0
commit b4346cb334

View file

@ -35,6 +35,7 @@ async def on_ready():
@checks.del_ctx()
async def die(ctx):
try:
if isinstance(bot.get_channel(config['startup_channel']), discord.TextChannel):
await bot.get_channel(config['shutdown_channel']).send('Am g0 by3e333333eee. **H4v3 n1GhT.** 💤')
await bot.close()
print('-------')