when mentions such as @everyone and roles or users <@123456789...> are enclosed in code blocks - like so: `@everyone` - the backend does not check for this and incorrectly registers that as a valid mention.
solving this would likely require a markdown parser which mimics the behavior of discord's, but it will be significantly simpler as there is no need to generate an AST.
when mentions such as
@everyone
and roles or users<@123456789...>
are enclosed in code blocks - like so:`@everyone`
- the backend does not check for this and incorrectly registers that as a valid mention.