Added Shutdown-Command with cleanup
This commit is contained in:
@@ -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