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

Add edit_response and edit_followup to Interaction class #3

Open
jaARke opened this issue Jul 15, 2023 · 0 comments
Open

Add edit_response and edit_followup to Interaction class #3

jaARke opened this issue Jul 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jaARke
Copy link
Owner

jaARke commented Jul 15, 2023

These functions are self explanatory. They would allow a user to edit response and followup messages after they have been sent with send_response or send_followup.

edit_response will be straightforward. The API for editing a response only depends upon the Interaction token, which is readily available in our Interaction object.

edit_followup will be more intensive. We will need to develop a way of receiving message data back from the Discord API after sending each followup. send_followup will then need to store and return this message data so that the user can eventually edit the message using the returned object. See this page for relevant documentation.

@jaARke jaARke added the enhancement New feature or request label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant