add db
This commit is contained in:
1 parent
799dc4f7cb
commit
43ca775fb0
8 files changed
+65
-44
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user