forked from gooberinc/goober
improved updater
This commit is contained in:
parent
c0030b77b0
commit
d6c6605e2a
2 changed files with 9 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue