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
Often we right scripts to fetch data from an API and then parse that data and submit it.
Instead I want a command that creates new commands that do this dynamically.
They will have to be approved by the bot owner to be executable.
It should also validate the response is JSON if we support path. Maybe I can extend this to support other content-types later.
!fetch add <command> <uri> <path>
!fetch add catfact https://catfact.com data.description
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Often we right scripts to fetch data from an API and then parse that data and submit it.
Instead I want a command that creates new commands that do this dynamically.
They will have to be approved by the bot owner to be executable.
It should also validate the response is JSON if we support path. Maybe I can extend this to support other content-types later.
Usage
!fetch add <command> <uri> <path>
Example
!fetch add catfact https://catfact.com data.description
The text was updated successfully, but these errors were encountered: