We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is example of command
-cmd hello there I know we can read the parameters by slug cmd :text :text2
-cmd hello there
cmd :text :text2
but I wish to read full text hello there
hello there
I can replace -cmd
-cmd
but is there any alternative solution?
By Harry
The text was updated successfully, but these errors were encountered:
Done https://github.com/OwenCalvin/discord.ts/commit/4af0a233bd1c703a8710441e12673525437b6d93
Sorry, something went wrong.
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(' ')
No branches or pull requests
this is example of command
-cmd hello there
I know we can read the parameters by slug
cmd :text :text2
but I wish to read full text
hello there
I can replace
-cmd
but is there any alternative solution?
By Harry
The text was updated successfully, but these errors were encountered: