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