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
Some of the Discord API endpoints that use optional parameters don't work.
For example Create Guild Ban: The package expects "delete-message-days?" and "reason?", but discord expects "delete-message-days" and "reason".
The text was updated successfully, but these errors were encountered:
Looks like you're right. The question mark indicates they're optional json parameters. Here's the ban docs for reference.
Sorry, something went wrong.
@alboltdrogo I'd imagine you can omit the ? when using this library as it probably strips them. If not, that's something we'll want to put in place.
?
No branches or pull requests
Some of the Discord API endpoints that use optional parameters don't work.
For example Create Guild Ban:
The package expects "delete-message-days?" and "reason?", but discord expects "delete-message-days" and "reason".
The text was updated successfully, but these errors were encountered: