From f1b25f54be9ab175cef772c53b577e3b9c1c6ee2 Mon Sep 17 00:00:00 2001 From: snipe <72265661+notsniped@users.noreply.github.com> Date: Sat, 4 May 2024 20:21:06 +0530 Subject: [PATCH] Add `/howgay` command to rate the gayness of a user Just to clarify, this command is for **fun only**. I am **not** homo. Please use and take this command in a light-hearted and fun manner. Do not use this command to bully, harass, or be homo towards other users. --- cogs/fun.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cogs/fun.py b/cogs/fun.py index a005f10..bf92cf6 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -84,5 +84,35 @@ async def randomnumber(self, ctx: ApplicationContext, x: int, y: int): return await ctx.respond(":x: Your minimum limit needs to be lower than the maximum limit!", ephemeral=True) await ctx.respond(f"Your random number is `{random.randint(x, y)}`\n\nMinimum limit: `{x}`\nMaximum limit: `{y}`") + @commands.slash_command( + name="howgay", + description="See the gay percentage of a person!" + ) + @option(name="user", description="The person who you want to gayrate", type=discord.User, default=None) + async def howgay(self, ctx: ApplicationContext, user: discord.User = None): + """See the gay percentage of a person!""" + if user == None: + user = ctx.author + rating = random.randint(0, 100) + response = str() + if rating == 0: + response = "You are straighter than your bedroom walls!" + elif rating <= 30: + response = "You are the average person in society" + elif rating <= 60: + response = "You're pretty gay tbh" + elif rating <= 90: + response = "You're really gay!" + elif rating <= 99: + response = "You are **extremely gay**!! No cap" + elif rating == 100: + response = "You are ***SUPER*** gay!!! You're so gay you make gay people look straight" + localembed = discord.Embed( + title=f":rainbow_flag: {user.display_name}'s gay rating", + description=f"{user.display_name} is **{rating}%** gay! {response}", + color=discord.Color.random() + ) + await ctx.respond(embed=localembed) + # Initialization def setup(bot): bot.add_cog(Fun(bot))