remove global to fix bug

This commit is contained in:
mierenmanz 2021-04-29 12:43:03 +02:00
parent 222f1d0fa8
commit de4e207d85
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ interface MentionToRegex {
}
const mentionToRegex: MentionToRegex = {
mentionUser: /<@!?(\d{17,19})>/g,
mentionRole: /<@&(\d{17,19})>/g,
mentionChannel: /<#(\d{17,19})>/g
mentionUser: /<@!?(\d{17,19})>/,
mentionRole: /<@&(\d{17,19})>/,
mentionChannel: /<#(\d{17,19})>/
}
export type CommandArgumentMatchTypes =