diff --git a/backend/src/plugins/Automod/Automod.ts b/backend/src/plugins/Automod/Automod.ts index eebf0e1a..d80144b2 100644 --- a/backend/src/plugins/Automod/Automod.ts +++ b/backend/src/plugins/Automod/Automod.ts @@ -596,6 +596,7 @@ export class AutomodPlugin extends ZeppelinPlugin>> { const messageInfo: MessageInfo = { channelId: msg.channel_id, messageId: msg.id, userId: msg.user_id }; const member = await this.getMember(msg.user_id); + if (!member) return; if (trigger.match_messages && msg.data.content) { const str = msg.data.content;