From 3bf14022abc5d73d3d8282517019b6ddbbb9a3fd Mon Sep 17 00:00:00 2001 From: CF <0xicl33n@protonmail.com> Date: Mon, 26 May 2025 13:23:08 -0700 Subject: [PATCH] this way --- bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index a1e714d..70a9c29 100644 --- a/bot.py +++ b/bot.py @@ -78,11 +78,12 @@ async def d20(ctx): @bot.event async def on_message(message): if bot.user.mentioned_in(message): - if response == discord.File: - await message.channel.send(response) if random.randint(0, 10) == 5: pass + response = await build_response() + if response == discord.File: + await message.channel.send(response) if response.startswith("