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

Clarify that updating the message is optional when ACKing a component interaction #4035

Closed
wants to merge 1 commit into from
Closed

Clarify that updating the message is optional when ACKing a component interaction #4035

wants to merge 1 commit into from

Conversation

brakhane
Copy link

@brakhane brakhane commented Nov 1, 2021

Unlike acknowledging a slash/context command with DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE which requires a message to be sent later, acknowledging an interaction (button presses etc.) with DEFERRED_UPDATE_MESSAGE does not require that the message is actually updated later.

The current wording is a bit ambiguous and resulted in some questions in the Discord Developer server; adding an "optionally" hopefully makes it clearer that a follow up is not required.

@typpo
Copy link
Contributor

typpo commented Nov 30, 2021

Not showing a loading state is probably a client bug, so when you do this it should show a loading state :(

@typpo typpo closed this Nov 30, 2021
@brakhane brakhane deleted the deferred-update-optionally branch November 30, 2021 18:54
@advaith1
Copy link
Contributor

it is documented as not showing a loading state, and it is often used as just an ack, so changing it to show a loading state would be a breaking change and remove functionality; a new response type to show a loading state (or a body param) could be added instead

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.

3 participants