Just don't look please

This commit is contained in:
Cal Corum 2024-01-05 13:41:04 -06:00
parent 923086238f
commit fc72bc941e

View File

@ -341,13 +341,19 @@ class Players(commands.Cog):
elif 'z' in spoiler_text: elif 'z' in spoiler_text:
chance = 'Medium' chance = 'Medium'
else: else:
d3 = random.randint(1, 3) d1000 = random.randint(1, 1000)
if d3 == 1: if d1000 <= 300:
chance = 'Low' chance = 'Low'
elif d3 == 2: elif d1000 <= 600:
chance = 'Medium' chance = 'Medium'
elif d3 == 3: elif d1000 <= 900:
chance = 'High' chance = 'High'
elif d1000 <= 950:
chance = 'Miniscule'
elif d1000 <= 980:
chance = 'Throbbing'
else:
chance = 'Deez Nuts'
ping_role = get_role(message, 'Deez Watch', self.bot) ping_role = get_role(message, 'Deez Watch', self.bot)
await message.channel.send(f'{ping_role.mention} there is a **{chance}** chance this is a deez nuts joke.') await message.channel.send(f'{ping_role.mention} there is a **{chance}** chance this is a deez nuts joke.')