Removed help-Command
This commit is contained in:
@@ -88,7 +88,7 @@ else:
|
||||
bot = commands.Bot(
|
||||
command_prefix=commands.when_mentioned_or("!"),
|
||||
description="Relatively simple music bot example",
|
||||
intents=intents,
|
||||
intents=intents, help_command=None
|
||||
)
|
||||
|
||||
|
||||
@@ -102,14 +102,14 @@ else:
|
||||
print("------")
|
||||
|
||||
|
||||
@bot.command(name="Shutdown")
|
||||
@bot.command(name="shutdown")
|
||||
async def _shutdown(ctx):
|
||||
files = os.listdir(cache_dir)
|
||||
async with ctx.channel.typing():
|
||||
for file in files:
|
||||
os.remove(f"{cache_dir}/{file}")
|
||||
await ctx.send(f"{warning}Cleaned up {len(files)} Files...\n\n{success}Shutting down...")
|
||||
await bot.close
|
||||
bot.close()
|
||||
|
||||
|
||||
@bot.slash_command(name="join", description="Summon the bot into your channel")
|
||||
|
||||
Reference in New Issue
Block a user