Skip to content
New issue

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

Finished implementing editing of slash command interaction responses #46

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

Sirraide
Copy link
Contributor

This updates cluster::interaction_response_edit to use the proper api endpoint (/api/v8/webhooks) and format in accordance with https://discord.com/developers/docs/interactions/slash-commands#edit-original-interaction-response. Some unnecessary parameters were removed. Also added interaction_create_t::edit_response.

@braindigitalis braindigitalis merged commit ba0fa36 into brainboxdotcc:master Jul 20, 2021
@braindigitalis
Copy link
Contributor

Merged - does this relate to discord/discord-api-docs#2410 ?

@Sirraide
Copy link
Contributor Author

I think so. I implemented this because I wanted to be able to acknowledge an interaction and send a response later, which is now possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants