From d19e31bea0d3642c0aa5bea8506c2d7de08663fd Mon Sep 17 00:00:00 2001 From: Terry Hearst <thearst3rd@gmail.com> Date: Sat, 18 Jan 2025 11:39:25 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 818e073..9d53d91 100644 --- a/bot.py +++ b/bot.py @@ -224,8 +224,11 @@ class Bot(commands.Bot): # Requested by linguini15 @commands.command() async def shape(self, ctx: commands.Context): - platonic_solids = ["tetrahedron", "hexahedron", "octahedron", "dodecahedron", "icosahedron"] - solid = random.choice(platonic_solids) + if random.random() > 0.1: + solid = random.choice(["tetrahedron", "hexahedron", "octahedron", "dodecahedron", "icosahedron"]) + else: + # Rarer goofy options + solid = random.choice(["600 cell", "pentachoric trischiliaoctacositetracontateron"]) message = f"did you guys know the marble is a{'n' if solid[0] in ['i', 'o'] else ''} {solid}!?!?!?" await ctx.send(message)