From 1e4ee9e4fef91914da214e8a88929245eedaca0c Mon Sep 17 00:00:00 2001 From: pbillingsby <45179070+PBillingsby@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:57:23 -0500 Subject: [PATCH] testing fix for logs bot --- logs_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs_bot.py b/logs_bot.py index 834f9c6..f4d6423 100644 --- a/logs_bot.py +++ b/logs_bot.py @@ -32,7 +32,7 @@ async def on_message(message): return # If the message is in a thread under the 'i-need-help' forum channel using ID and contains attachments - if isinstance(message.channel, discord.Thread) and message.channel.parent_id == 1230231823674642513 and message.attachments: + if isinstance(message.channel, discord.Thread) and message.channel.parent.name == '🙋🏻│i-need-help' and message.attachments: for attachment in message.attachments: if attachment.filename.lower().endswith(('.png', '.jpg', '.jpeg', '.avif', '.webp')): try: