buttonClick Event
Button Clicks
When someone clicks on a button or uses a dropdown, it will fire an event called 'buttonClick'.
Replying to buttons
We can reply when a button is clicked using .reply()
.
If needed, you are able to add embeds, flags, attachments, and type in the reply. Check Methods.
Updating buttons
We can edit the original message that had the buttons using .update()
.
If needed, you are able to add embeds, flags, attachments, and type in the reply. Check Methods.
Examples
Buttons
Here is an example of how to check for button IDs and how to handle them. Example****
Dropdowns
Here is an example of how to check for dropdown information and how to handle them. Example****
Last updated