mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Formatting change
This commit is contained in:
parent
b284bf837c
commit
30f782ec95
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue