This commit is contained in:
2025-11-27 18:21:06 +05:00
parent 6069144ae2
commit d5a103ba8a

View File

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