Skip to content

Commit

Permalink
testing fix for logs bot
Browse files Browse the repository at this point in the history
  • Loading branch information
PBillingsby authored Nov 11, 2024
1 parent 71d6ccc commit 1e4ee9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logs_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1e4ee9e

Please sign in to comment.