Added Shutdown-Command with cleanup

This commit is contained in:
Lukas Blacha
2023-02-07 23:05:31 +01:00
parent 9540f37d06
commit 6b8a8a0dfc

View File

@@ -103,7 +103,7 @@ else:
@bot.command(name="Shutdown")
async def _shutdown(ctx):
os.remove("cache/*")
os.system("rm -r cache/*")
await ctx.send(f"{success}Shutting down...")
#await bot.close