Fix !quit, closes #89
This commit is contained in:
parent
9907b19424
commit
afd2423394
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Admin(Cog):
|
||||||
async def _exit(self, ctx):
|
async def _exit(self, ctx):
|
||||||
"""Shuts down the bot, bot manager only."""
|
"""Shuts down the bot, bot manager only."""
|
||||||
await ctx.send(":wave: Goodbye!")
|
await ctx.send(":wave: Goodbye!")
|
||||||
await self.bot.logout()
|
await self.bot.close()
|
||||||
|
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
@commands.check(check_if_bot_manager)
|
@commands.check(check_if_bot_manager)
|
||||||
|
|
Loading…
Reference in a new issue