mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Correct mention regex in mention tag function (#154)
This commit is contained in:
parent
2ac6fedfc5
commit
513755636e
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ export const TagsPlugin = zeppelinGuildPlugin<TagsPluginType>()("tags", {
|
|||
return "";
|
||||
}
|
||||
|
||||
if (input.match(/^<(@#)(!&)\d+>$/)) {
|
||||
if (input.match(/^<(?:@(?:!|&)?|#)\d+>$/)) {
|
||||
return input;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue