Fix !quit, closes #89

This commit is contained in:
ave 2022-08-10 20:05:54 +02:00
parent 9907b19424
commit afd2423394

View file

@ -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)