Improve visibility of button presses, or allow multiple actions in a single HTTP interaction reply #5345
Replies: 4 comments 2 replies
-
I really wish I could give this multiple upvotes. Either we need better visibility of our interactions, or bots need multiple free requests per interaction. Edit: Lol, I realize I basically just typed out your exact title. |
Beta Was this translation helpful? Give feedback.
-
Interactions/followups are webhooks under the hood. This means they have their own ratelimits and don't count towards the bot's global ratelimit, as documented here. But I agree that there should be a way to retain that a user clicked the button, and show a slight visual indication of that. |
Beta Was this translation helpful? Give feedback.
-
This is also a issue for the people who are doing the giveaways knowing who entered as well before the giveaway is done! |
Beta Was this translation helpful? Give feedback.
-
gotta love how this issue is still unanswered after all this time |
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.
-
Since switching to the HTTP-only system, a massive number of users have complained that it isn't clear if they've pressed a button (for example, this kind of feedback is common). For reference, when a user presses a button, the reply to the interaction contains the updated message content (which shouldn't invoke any ratelimits, as there is no request to Discord being made). The volume of button presses would make creating an additional response (such as an ephemeral message in addition to the original message edit) not feasible due to ratelimits (for example, button presses could easily exceed 50 presses per second). There are a few ways I could imagine this could improve:
Make it more obvious a button has been pressed
For example, when an interaction is successfully replied to, make the button glow, show a checkmark, or other visual indicator that it has been clicked and successfully processed.
Add a new button type
Whether this would be a "toggle" style button, or allow setting the style of the button per-user, changing the button permanently after a click would be beneficial.
Allow including two messages in the reply to an interaction request
A possibly-simpler method would be to simply allow both an edit as well as a new message in a single reply to an interaction. This would allow editing the original message, as well as creating an ephemeral "confirmation" that the button has been successfully pressed.
Beta Was this translation helpful? Give feedback.
All reactions