fix #35
This commit is contained in:
parent
518687059f
commit
300b138fe2
1 changed files with 3 additions and 1 deletions
|
@ -135,8 +135,10 @@ class Mybot(commands.Cog):
|
|||
|
||||
@commands.command(help='Restart Bot')
|
||||
async def restart(self, ctx):
|
||||
cmd = self.bot.get_command('disconnect')
|
||||
await cmd.invoke(ctx)
|
||||
await self.bot.close()
|
||||
sys.exit()
|
||||
exit()
|
||||
|
||||
@commands.command(help='Update local repo')
|
||||
async def update(self, message):
|
||||
|
|
Loading…
Reference in a new issue