Procházet zdrojové kódy

added headpat command

tags/v1.6.0
Roxie Gibson před 6 roky
rodič
revize
b73b1fb42f
2 změnil soubory, kde provedl 20 přidání a 7 odebrání
  1. +2
    -1
      README.md
  2. +18
    -6
      Roxbot/cogs/fun.py

+ 2
- 1
README.md Zobrazit soubor

#### v1.6.0 #### v1.6.0
###### New Features ###### New Features
- waifurate command can now do husbando and spousu rates as well. - waifurate command can now do husbando and spousu rates as well.
- pet command for your headpats needs.
###### Minor Changes ###### Minor Changes
- Logging is now easier internally. - Logging is now easier internally.
- The subreddit command has logging. Only when it is being directly invoked and not when an inbuilt command is being used. - The subreddit command has logging. Only when it is being directly invoked and not when an inbuilt command is being used.
- Added who the wiafu command is dedicated to in the command description.
###### Bug Fixes ###### Bug Fixes


#### v1.5.1 #### v1.5.1

+ 18
- 6
Roxbot/cogs/fun.py Zobrazit soubor

""" """
Spanks the mentioned user ;) Spanks the mentioned user ;)
Usage: Usage:
{command_prefix}spank @Roxbot_client#4170
{command_prefix}spank Roxbot_client
{command_prefix}spank @Roxbot#4170
{command_prefix}spank Roxbot
""" """
if not user: if not user:
return await ctx.send("You didn't mention someone for me to spank") return await ctx.send("You didn't mention someone for me to spank")
""" """
Sucks the mentioned user ;) Sucks the mentioned user ;)
Usage: Usage:
{command_prefix}suck @Roxbot_client#4170
{command_prefix}suck Roxbot_client
{command_prefix}suck @Roxbot#4170
{command_prefix}suck Roxbot
""" """
if not user: if not user:
return await ctx.send("You didn't mention someone for me to suck") return await ctx.send("You didn't mention someone for me to suck")
""" """
Hugs the mentioned user :3 Hugs the mentioned user :3
Usage: Usage:
{command_prefix}hug @Roxbot_client#4170
{command_prefix}hug Roxbot_client
{command_prefix}hug @Roxbot#4170
{command_prefix}hug Roxbott
""" """
if not user: if not user:
return await ctx.send("You didn't mention someone for me to hug") return await ctx.send("You didn't mention someone for me to hug")
return await ctx.send(":blush: *{} hugs {}*".format(self.bot.user.name, user.name)) return await ctx.send(":blush: *{} hugs {}*".format(self.bot.user.name, user.name))


@bot.command(aliases=["headpat"])
async def pet(self, ctx, *, user: discord.User = None):
"""
Gives headpats to the mentioned user :3
Usage:
{command_prefix}pet @Roxbot#4170
{command_prefix}pet Roxbot
"""
if not user:
return await ctx.send("You didn't mention someone for me to headpat")
return await ctx.send("Nyaa! :3 *{} gives headpats to {}*".format(self.bot.user.name, user.name))

@bot.command(aliases=["wf", "wr", "husbandorate", "hr", "spousurate", "sr"]) @bot.command(aliases=["wf", "wr", "husbandorate", "hr", "spousurate", "sr"])
async def waifurate(self, ctx): async def waifurate(self, ctx):
""" """

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