Compare commits

...

1 Commits

Author SHA1 Message Date
Laura Batalha
7d60316c99 feat(discord): only create threads and reactions for authorized users 2026-03-31 18:52:59 -07:00

View File

@@ -548,6 +548,10 @@ class DiscordAdapter(BasePlatformAdapter):
if message.type not in (discord.MessageType.default, discord.MessageType.reply):
return
# Check if the message author is in the allowed user list
if not self._is_allowed_user(str(message.author.id)):
return
# Bot message filtering (DISCORD_ALLOW_BOTS):
# "none" — ignore all other bots (default)
# "mentions" — accept bot messages only when they @mention us