alert InteractionResponseType for buttons #3332
Replies: 4 comments 2 replies
-
Another thing that this could add a better solution for is older messages with buttons. If you respond ephemerally or non-ephemerally as a new message to these older messages, the user has now lost their position in chat to go view that message. This would provide a viable way to send quick feedback in the users field of view without editing the original message. |
Beta Was this translation helpful? Give feedback.
-
I would love to see the option to just send a successmessage as replacement for the general error messages. |
Beta Was this translation helpful? Give feedback.
-
It would also be nice if this gave us ability to send custom error messages. Would be useful for saying "you don't have the permission to use this command" if this is evaluated bot side. |
Beta Was this translation helpful? Give feedback.
-
This would be cool, if the alert can be also like JavaScript |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
ok so, a new
InteractionResponseType
to show that the request sent by a button is received by showing a small success line or some pop-upWhy This is Needed
since the buttons don't show if the request sent by them is handled || received, the users keep spamming the button, so to show that their request has been received there can be small tooltip (for desktop toast for phones) or some small success line, like we do in normal prefix commands, popping up would be a better alternative than a ephemeral (flags 64, user see only) messages, which the user has to dismiss manually;
Alternatives Considered
Editing the original message to indicate the status, however, this poses UX problems when done on public messages. Also, if you send an ephemeral message to the user whenever the button is clicked, it can push the main message up, so, yes
Additional Details

and if the response type took a style parameter, emoji, and label similar to buttons that would be great
by the tooltip thingy i mean something like:
toast.mp4
Beta Was this translation helpful? Give feedback.
All reactions