update command changes

This commit is contained in:
2025-11-27 18:03:34 +05:00
parent 59952cf646
commit 26c980b86e

View File

@@ -21,7 +21,7 @@ class Update(commands.Cog):
channel = self.bot.get_channel(int(res))
await channel.send('restarting...')
try:
subprocess.run(["git pull --rebase origin main"],capture_output=True)
subprocess.run(["git", "pull", "--rebase", "origin", "main"],capture_output=True)
except:
await channel.send('restart fail')
return