Procházet zdrojové kódy

spank command added. Just a suck clone

tags/v1.0.0
roxie před 6 roky
rodič
revize
2c66f80f71
1 změnil soubory, kde provedl 12 přidání a 0 odebrání
  1. +12
    -0
      cogs/fun.py

+ 12
- 0
cogs/fun.py Zobrazit soubor

@@ -50,6 +50,18 @@ class Fun():
roll = random.randrange(step, dice + 1, step)
return await self.bot.say("{} rolled a **{}**".format(ctx.message.author.mention, roll))

@bot.command(pass_context=True)
async def spank(self, ctx, *, user: discord.User = None):
"""
Spanks the mentioned user ;)
Usage:
{command_prefix}spank @RoxBot#4170
{command_prefix}spank RoxBot
"""
if not user:
return await self.bot.say("You didn't mention someone for me to spank")
return await self.bot.say(":peach: :wave: *{} spanks {}*".format(self.bot.user.name, user.name))

@bot.command(pass_context=True)
async def suck(self, ctx, *, user: discord.User = None):
"""

Načítá se…
Zrušit
Uložit