Added Shutdown-Command with cleanup

This commit is contained in:
Lukas Blacha committed 2023-02-07 23:05:31 +01:00
1 parent 9540f37d06
commit 6b8a8a0dfc
1 file changed
+1 -1
+1 -1
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