__on_discord_button

__on_discord_button(interaction)#

Executes when a user presses a button component on a message.

Event inputs#

Value Type Description
interaction Button interaction The interaction about the button that was pressed.