update command

This commit is contained in:
2025-11-27 17:44:34 +05:00
parent d5aa43b3a7
commit 59952cf646

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 origin main"],capture_output=True)
subprocess.run(["git pull --rebase origin main"],capture_output=True)
except:
await channel.send('restart fail')
return