From 31f17fa2cc61b9c9ab110f3832c2e35761dabd0f Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 25 Apr 2022 21:59:32 +0200 Subject: [PATCH] add hiebe command --- bot.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index fc003a3..36a046e 100644 --- a/bot.py +++ b/bot.py @@ -398,12 +398,21 @@ async def purge(ctx, *, arg): @bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...", hidden=True) @is_member() -async def love(ctx, *, arg): +async def liebe(ctx, *, arg): await ctx.message.delete() for user in ctx.message.mentions: if user.dm_channel == None: await user.create_dm() - await user.dm_channel.send("❤️") + await user.dm_channel.send("❤️ von {}".format(ctx.author.display_name)) + +@bot.command(help="zeige einem User Hiebe", usage="<@User1> <@User2> ...", hidden=True) +@is_member() +async def hiebe(ctx, *, arg): + await ctx.message.delete() + for user in ctx.message.mentions: + if user.dm_channel == None: + await user.create_dm() + await user.dm_channel.send("HIEBE :punch: von {}".format(ctx.author.display_name)) @bot.command(help="kickt Member ohne Rolle, die 30 Tage nicht online waren", usage="") @is_admin()