Added Shutdown-Command with cleanup
This commit is contained in:
1 parent
9540f37d06
commit
6b8a8a0dfc
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user