use non-whitespace for command names

This commit is contained in:
LenAnderson
2024-03-29 12:26:22 -04:00
parent 4b29618dc2
commit 1c7b76746d

View File

@ -65,7 +65,7 @@ export class SlashCommandParser {
const COMMAND = { const COMMAND = {
scope: 'command', scope: 'command',
begin: /\/\w+/, begin: /\/\S+/,
beginScope: 'title.function', beginScope: 'title.function',
end: /\||$|:}/, end: /\||$|:}/,
contains: [], // defined later contains: [], // defined later