plugins
plugins copied to clipboard
[KeywordAlerts] Breaks custom emojis with keyword in the name
Describe the bug
If an emoji's name (custom emojis confirmed, haven't tested with built-in emojis) contains a keyword (no regex set, just plain keyword) and the bold-first-instance setting is enabled, the custom emoji will be broken.
To Reproduce
- Enable "Bold the first instance of a keyword in a message"
- Have someone send a custom emoji that's name has the plain, non-regex keyword.
Expected behavior
Keep the emoji intact (while keeping the alert and mention (if mention setting is enabled), or ignore the keyword mention entirely (no alert or mention).
Priority
Screenshots
Mobile
- Device: Moto E 5G (2022)
- OS: Android 13
- Screen size: 165.4 x 75.8 x 9.4 mm
- Aliucord: 5CB4135
- Discord: 126.21
Additional context
I am aware that the setting does state that "issues may arise" (and that you "do not care" 🥱), but I thought I'd submit this issue anyway.
There are workarounds using regex.
Example:
(?<!<:[\w_]*)(?:Nick)(?![\w_]*:[0-9]+>)