hide yesno command in help list

This commit is contained in:
Aaron Riedel 2022-01-23 03:45:49 +01:00
parent 42f7e01e4b
commit f71f14663c

2
bot.py
View file

@ -64,7 +64,7 @@ async def on_ready():
async def test(ctx, arg): async def test(ctx, arg):
await ctx.send(arg) await ctx.send(arg)
@bot.command(help="veraltet", usage="") @bot.command(help="veraltet", usage="", hidden=True)
@is_member() @is_member()
async def yesno(ctx): async def yesno(ctx):
await ctx.message.delete() await ctx.message.delete()