Browse Source

suck rewritten and decent

tags/v1.0.0
roxie 6 years ago
parent
commit
bd07c9d8b3
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      cogs/fun.py

+ 6
- 5
cogs/fun.py View File

import discord
import random import random
from discord.ext.commands import bot from discord.ext.commands import bot


return await self.bot.say("{} rolled a **{}**".format(ctx.message.author.mention, roll)) return await self.bot.say("{} rolled a **{}**".format(ctx.message.author.mention, roll))


@bot.command(pass_context=True) @bot.command(pass_context=True)
async def suck(self, ctx):
async def suck(self, ctx, *, user: discord.User = None):
""" """
Sucks the mentioned user ;) Sucks the mentioned user ;)
Usage: Usage:
{command_prefix}suck @user#9999
{command_prefix}suck @RoxBot#4170
{command_prefix}suck RoxBot
""" """
if len(ctx.message.mentions) < 1:
if not user:
return await self.bot.say("You didn't mention someone for me to suck") return await self.bot.say("You didn't mention someone for me to suck")
user = ctx.message.mentions[0]
return await self.bot.say(":eggplant: :sweat_drops: :tongue: {}".format(user.mention))
return await self.bot.say(":eggplant: :sweat_drops: :tongue: *{} sucks {}*".format(self.bot.user.name, user.name))


@bot.command(pass_context=True, aliases=["wf"]) @bot.command(pass_context=True, aliases=["wf"])
async def waifurate(self, ctx): async def waifurate(self, ctx):

Loading…
Cancel
Save