update restart command
This commit is contained in:
1 parent
bd6963d0cf
commit
92cbc7a2d0
1 file changed
+1
-2
+1
-2
@@ -177,8 +177,7 @@ class Main(commands.Cog):
|
||||
async def restart(self, ctx: commands.Context, *, id):
|
||||
"""restart bot"""
|
||||
await ctx.message.add_reaction("\u2611")
|
||||
os.system(f"pm2 restart {int(id)}")
|
||||
await self.bot.close()
|
||||
os.system(f"pm2 restart {id}")
|
||||
|
||||
@commands.command(name="git")
|
||||
@commands.is_owner()
|
||||
|
||||
Reference in new issue
Block a user