:Bug: Bot goes invisible when it's about to log out
This commit is contained in:
@ -10,10 +10,6 @@ class EventCog(commands.Cog):
|
||||
async def on_ready(self):
|
||||
await self.bot.eventHandler.on_ready()
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_disconnect(self):
|
||||
await self.bot.change_presence(status = discord.Status.offline)
|
||||
|
||||
# Logs when user sends a command
|
||||
@commands.Cog.listener()
|
||||
async def on_slash_command(self, ctx):
|
||||
|
Reference in New Issue
Block a user