Merge branch 'dev' into 'master'
add hiebe command See merge request aaron-riedel/shbot!21
This commit is contained in:
commit
43c2c19e99
1 changed files with 11 additions and 2 deletions
13
bot.py
13
bot.py
|
@ -398,12 +398,21 @@ async def purge(ctx, *, arg):
|
||||||
|
|
||||||
@bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...", hidden=True)
|
@bot.command(help="zeige einem User Liebe", usage="<@User1> <@User2> ...", hidden=True)
|
||||||
@is_member()
|
@is_member()
|
||||||
async def love(ctx, *, arg):
|
async def liebe(ctx, *, arg):
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
for user in ctx.message.mentions:
|
for user in ctx.message.mentions:
|
||||||
if user.dm_channel == None:
|
if user.dm_channel == None:
|
||||||
await user.create_dm()
|
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="")
|
@bot.command(help="kickt Member ohne Rolle, die 30 Tage nicht online waren", usage="")
|
||||||
@is_admin()
|
@is_admin()
|
||||||
|
|
Loading…
Reference in a new issue