This commit is contained in:
CF committed 2025-05-26 13:23:08 -07:00
1 parent eb34dbdd3a
commit 3bf14022ab
1 file changed
+3 -2
+3 -2
View File
@@ -78,11 +78,12 @@ async def d20(ctx):
@bot.event @bot.event
async def on_message(message): async def on_message(message):
if bot.user.mentioned_in(message): if bot.user.mentioned_in(message):
if response == discord.File:
await message.channel.send(response)
if random.randint(0, 10) == 5: if random.randint(0, 10) == 5:
pass pass
response = await build_response() response = await build_response()
if response == discord.File:
await message.channel.send(response)
if response.startswith("<https://"): if response.startswith("<https://"):
pass pass
if response.isupper(): if response.isupper():