From 59952cf646d8024bd185f171be3751f0cdcdcdae Mon Sep 17 00:00:00 2001 From: AkriliksKotya Date: Thu, 27 Nov 2025 17:44:34 +0500 Subject: [PATCH] update command --- c/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/update.py b/c/update.py index ea6cd4f..d243b1b 100644 --- a/c/update.py +++ b/c/update.py @@ -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