add hiebe command

This commit is contained in:
Aaron Riedel 2022-04-25 21:59:32 +02:00
parent e5c77ba1b5
commit 31f17fa2cc
Signed by: aaron
GPG key ID: 643004654D40D577

13
bot.py
View file

@ -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()