diff --git a/app/bot.py b/app/bot.py index f1c0eb3a..d0c815df 100755 --- a/app/bot.py +++ b/app/bot.py @@ -107,7 +107,8 @@ async def convert_heic_to_jpg(ctx): @bot.listen("on_message") async def annoy_jason(ctx): if ctx.author.id == 83012791983673344 and "twitter.com" in ctx.content: - # if ctx.author.id == 144986109804412928 and "twitter.com" in ctx.content: + # my author id for testing + # if ctx.author.id == core_utils.my_id and "twitter.com" in ctx.content: await ctx.reply( "https://tenor.com/view/oomfie-klee-genshin-impact-smook-smokingissad-gif-21571907" ) diff --git a/app/cogs/cheeky_functions.py b/app/cogs/cheeky_functions.py index 2110d69e..75879133 100755 --- a/app/cogs/cheeky_functions.py +++ b/app/cogs/cheeky_functions.py @@ -14,27 +14,31 @@ class Cheeky(commands.Cog): @commands.slash_command( guild_ids=None, name="decide", - description="Separate your choices with the word 'or', or dont to get a yes or no response.", + description="Separate your choices with the word 'or', or dont to get a yes/no response.", ) @option( name="question", required=True, - description="Separate your choices with 'or', or enter a singular choice to get a yes/no answer.", + description="Separate your choices with 'or', or enter a single option to get a yes/no answer.", ) async def decide(self, ctx, question): import random choices = question.split(" or ") if len(choices) > 1: - description = random.choice(choices) + answer = random.choice(choices) else: - description = random.choice(["✅ Yes", "❌ No"]) + answer = random.choice(["✅ Yes", "❌ No"]) + + if ctx.author.id == 83012791983673344 and random.randint(1, 100) == 50: + answer = answer + "\n\nbut also consider killing urself fr fr" + embed = discord.Embed( - description=description, + description=answer, color=discord.Color.green(), type="rich", ) - embed.set_author(name="You asked me: %s" % question) + embed.set_author(name="You asked me: %s" % question.title()) await ctx.respond(embed=embed) @commands.command(name="coom", pass_context=True)