This commit is contained in:
un1xx committed 2025-05-09 15:57:25 +05:30
1 parent 799dc4f7cb
commit 43ca775fb0
8 files changed
+65 -44

No files matched your search

+2
View File
@@ -181,7 +181,9 @@ class Main(commands.Cog):
await ctx.message.add_reaction("\u2611")
# stop the bot
logger.warn("closing the bot")
self.bot.db_pool.close()
self.bot.close()
os.system(f"pm2 restart {id}")
@commands.command(name="git")