make hiebe and liebe visible in help

This commit is contained in:
Aaron Riedel 2024-07-12 13:07:08 +02:00
parent 91a75741bf
commit 559d8c2169
Signed by: aaron
GPG key ID: 643004654D40D577

4
bot.py
View file

@ -378,7 +378,7 @@ async def purge(ctx, *, arg):
deleted = await ctx.channel.purge(limit=limit) deleted = await ctx.channel.purge(limit=limit)
await ctx.send(content='Ich habe {} Nachrichten gelöscht.'.format(len(deleted)), delete_after=5.0) await ctx.send(content='Ich habe {} Nachrichten gelöscht.'.format(len(deleted)), delete_after=5.0)
@bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...", hidden=True) @bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...")
@is_member() @is_member()
async def liebe(ctx, *, arg): async def liebe(ctx, *, arg):
await ctx.message.delete() await ctx.message.delete()
@ -387,7 +387,7 @@ async def liebe(ctx, *, arg):
await user.create_dm() await user.create_dm()
await user.dm_channel.send("❤️ von {}".format(ctx.author.display_name)) await user.dm_channel.send("❤️ von {}".format(ctx.author.display_name))
@bot.command(help="zeige einem User Hiebe", usage="<@User1> <@User2> ...", hidden=True) @bot.command(help="zeige einem User Hiebe", usage="<@User1> <@User2> ...")
@is_member() @is_member()
async def hiebe(ctx, *, arg): async def hiebe(ctx, *, arg):
await ctx.message.delete() await ctx.message.delete()