A discord community member Kazama Jas posted this Tweet warning people that Discord allows for markdown and evildoers can use it to post links that are hidden. Here’s the original tweet:
Since most people copy/paste a link into Discord and don’t use Markdown to format links, this isn’t something I would have realized. I know that Discord will show you the link when you click on it, but many folks probably ignore that and visit the site anyway. Someone on Twitter responded with a clever Automod rule that works well, so that non-admins cannot Markdown formatted links. Originally posted via Twitter.
- Open your server settings and go to Automod near Safety Setup under Moderation.
- Click on “Create Block Custom Words” or edit an existing default rule under Content.
- Click on the tab “Use regex patterns for advanced matching (optional) and insert the following:
[([^[]+)]((.*))
- Save and test with a non-admin account by posting a link in markdown.

Hope this helps you and your discord moderation!
Thanks for reading! βπ½You can follow this blog on the fediverse (binarydigit@binarydigit.cafe) or comment below π
@binarydigit Somehow I donβt think that is an issue since there is a you are going to this site popup when you click on the link
This is true, but I worry that some folks won’t look at the warning and click on the link anyway π
@binarydigit There is always the viable solution of just not using discord
Of course. But I build a community there and it will stay there until everyone is hip to Matrix or another chat platform. π