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):
|
async def restart(self, ctx: commands.Context, *, id):
|
||||||
"""restart bot"""
|
"""restart bot"""
|
||||||
await ctx.message.add_reaction("\u2611")
|
await ctx.message.add_reaction("\u2611")
|
||||||
os.system(f"pm2 restart {int(id)}")
|
os.system(f"pm2 restart {id}")
|
||||||
await self.bot.close()
|
|
||||||
|
|
||||||
@commands.command(name="git")
|
@commands.command(name="git")
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
|
|||||||
Reference in new issue
Block a user