Преглед изворни кода

spank command added. Just a suck clone

tags/v1.0.0
roxie пре 6 година
родитељ
комит
2c66f80f71
1 измењених фајлова са 12 додато и 0 уклоњено
  1. +12
    -0
      cogs/fun.py

+ 12
- 0
cogs/fun.py Прегледај датотеку

@@ -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):
"""

Loading…
Откажи
Сачувај