Incredibly toxic behavior and bullying jason, 1 in 100 chance of dale bot telling him to kill himself when using /decide

This commit is contained in:
Luke Robles 2023-09-15 08:13:45 -07:00
parent 1ec6424e44
commit 3366bddf87
2 changed files with 12 additions and 7 deletions

View File

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

View File

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