diff --git a/backend/src/plugins/Automod/Automod.ts b/backend/src/plugins/Automod/Automod.ts index 17b69153..eebf0e1a 100644 --- a/backend/src/plugins/Automod/Automod.ts +++ b/backend/src/plugins/Automod/Automod.ts @@ -595,7 +595,7 @@ export class AutomodPlugin extends ZeppelinPlugin T | Promise | null, ): Promise>> { const messageInfo: MessageInfo = { channelId: msg.channel_id, messageId: msg.id, userId: msg.user_id }; - const member = this.guild.members.get(msg.user_id); + const member = await this.getMember(msg.user_id); if (trigger.match_messages && msg.data.content) { const str = msg.data.content; @@ -638,7 +638,7 @@ export class AutomodPlugin extends ZeppelinPlugin