Skip to content

Commit

Permalink
FINALLY fix the chat command OTF parsing...
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeffw committed Jan 4, 2025
1 parent 4506f51 commit 60cfcc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parselink.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const _chat = {
* Where:
* • word = ( text - " " ) -- Any string that does not contain the space character.
*/
regex: /^\/(?<command>\S+)\s+(?<text>[\s\S]*)/,
regex: /^\/(?<command>\S+)\s*(?<text>[\s\S]*)/,

/**
* @returns {
Expand Down

0 comments on commit 60cfcc9

Please sign in to comment.