improved updater

This commit is contained in:
ctih1 2025-07-26 22:24:17 +03:00
parent c0030b77b0
commit d6c6605e2a
2 changed files with 9 additions and 5 deletions

View file

@ -184,7 +184,7 @@ class BaseCommands(commands.Cog):
async def force_update(self, ctx: commands.Context):
await ctx.send("Forcefully updating...")
subprocess.run([sys.executable, sys.executable, "updater.py"])
sys.exit()
exit()
@requires_admin()
@commands.command()