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

Formatting change

This commit is contained in:
Myned 2017-10-15 02:13:41 -04:00
parent b284bf837c
commit 30f782ec95

View file

@ -28,7 +28,7 @@ class Bot:
@checks.del_ctx()
async def die(self, ctx):
if isinstance(self.bot.get_channel(u.config['shutdown_channel']), d.TextChannel):
await self.bot.get_channel(u.config['shutdown_channel']).send('**Shutting down. . .** 🌙')
await self.bot.get_channel(u.config['shutdown_channel']).send('**Shutting down . . .** 🌙')
# loop = self.bot.loop.all_tasks()
# for task in loop:
# task.cancel()
@ -44,7 +44,7 @@ class Bot:
async def restart(self, ctx):
print('\n| | | | | | | | | |\nR E S T A R T I N G\n| | | | | | | | | |\n')
if isinstance(self.bot.get_channel(u.config['shutdown_channel']), d.TextChannel):
await self.bot.get_channel(u.config['shutdown_channel']).send('**Restarting. . .** 💤')
await self.bot.get_channel(u.config['shutdown_channel']).send('**Restarting . . .** 💤')
# u.notify('R E S T A R T I N G')
# loop = self.bot.loop.all_tasks()
# for task in loop: