diff --git a/src/links/checkLinks.ts b/src/links/checkLinks.ts index 6e2e38b4..5234142d 100644 --- a/src/links/checkLinks.ts +++ b/src/links/checkLinks.ts @@ -12,6 +12,11 @@ export const checkLinks = async ( ): Promise => { const content = message.content; + // ignore link check in message from users who have the "team eddie" role + if (message.member?.roles.cache.some((role) => role.name === 'team eddi')) { + return null; + } + try { const urlMatch = content?.match(urlPattern); if (!urlMatch) {