diff --git a/backend/src/plugins/Automod/actions/changePerms.ts b/backend/src/plugins/Automod/actions/changePerms.ts index a516a6cf..3b1dc6e7 100644 --- a/backend/src/plugins/Automod/actions/changePerms.ts +++ b/backend/src/plugins/Automod/actions/changePerms.ts @@ -41,7 +41,7 @@ export const ChangePermsAction = automodAction({ const channelId = actionConfig.channel ? await renderChannel(actionConfig.channel) : null; const role = await pluginData.guild.roles.fetch(target); if (!role) { - const member = await pluginData.guild.members.fetch(target); + const member = await pluginData.guild.members.fetch(target).catch(noop); if (!member) return; }