Open owengombas opened 4 years ago
there is a problem with commit, command.commandContent is only output without prefix only
current passed regex for command `-cmd hello there`` is
/^-/i
expected output
/^-([\w-]+)\s
message.content.split(' ').slice(1).join(' ')
this is example of command
-cmd hello there
I know we can read the parameters by slugcmd :text :text2
but I wish to read full text
hello there
I can replace
-cmd
but is there any alternative solution?
By Harry