remove global to fix bug
This commit is contained in:
parent
222f1d0fa8
commit
de4e207d85
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ interface MentionToRegex {
|
||||||
}
|
}
|
||||||
|
|
||||||
const mentionToRegex: MentionToRegex = {
|
const mentionToRegex: MentionToRegex = {
|
||||||
mentionUser: /<@!?(\d{17,19})>/g,
|
mentionUser: /<@!?(\d{17,19})>/,
|
||||||
mentionRole: /<@&(\d{17,19})>/g,
|
mentionRole: /<@&(\d{17,19})>/,
|
||||||
mentionChannel: /<#(\d{17,19})>/g
|
mentionChannel: /<#(\d{17,19})>/
|
||||||
}
|
}
|
||||||
|
|
||||||
export type CommandArgumentMatchTypes =
|
export type CommandArgumentMatchTypes =
|
||||||
|
|
Loading…
Reference in a new issue