Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuro-Rui committed Feb 4, 2024
1 parent 0ce0c67 commit e7f6963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cogs/owner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import asyncio
import importlib
import sys
import traceback
Expand Down Expand Up @@ -341,6 +342,7 @@ async def shutdown(self, ctx: commands.Context):
if view.result:
embed.title = "Shutting Down..."
await view.message.edit(embed=embed)
await asyncio.sleep(0.5)
await self.bot.close()
else:
embed.title = "Cancelling..."
Expand Down

0 comments on commit e7f6963

Please sign in to comment.