diff --git a/c/update.py b/c/update.py index d243b1b..8303792 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 --rebase origin main"],capture_output=True) + subprocess.run(["git", "pull", "--rebase", "origin", "main"],capture_output=True) except: await channel.send('restart fail') return