Skip to content

Commit

Permalink
Regex fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Jan 23, 2021
1 parent e88e054 commit 44d7a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.js
Expand Up @@ -37,7 +37,7 @@ const tz = require("timezone-js"),
idParse = /^<@!?(?<id>[0-9]+)>$/,
idConfirmParse = /^<@!?(?<id>[0-9]+)>(?: (?<confirmed>confirm|[^ ]*))?$/,
idMessageParse = /^<@!?(?<id>[0-9]+)> (?<command>[^ ]+)(?: (?<newMessage>.+))?$/,
mapParse = /^(?<gameType>(?:CTF|2|3|4|2v2|3v3|4v4|4v4+)) (?<mapToCheck>.+)$/i,
mapParse = /^(?<gameType>(?:CTF|2|3|4|2v2|3v3|4v4|4v4\+)) (?<mapToCheck>.+)$/i,
nameConfirmParse = /^@?(?<name>.+?)(?: (?<confirmed>confirm))?$/,
neutralMapParse = /^(?<gameType>(?:CTF|TA)) (?<mapToCheck>.+)$/i,
numberParse = /^[1-9][0-9]*$/,
Expand Down

0 comments on commit 44d7a78

Please sign in to comment.