#Figuring out how Discord's automod matchers works
1 messages · Page 1 of 1 (latest)
I think it was the fact that it was "(https://discord.gg/python)," that tripped this -- the match seems to extend till ")," in the regex search result.
Figuring out how Discord's automod matchers works
(?:discord\.com/invite|discordapp\.com/invite|discord\.gg)/[A-z0-9\-\_]+
I think this covers both the randomly generated invite urls and the allowed characters in vanity urls, as well as the alternative base urls for invites
Thanks @lean cliff, updated the rule to block the Discord links via that regex.