__on_discord_button

__on_discord_button(interaction)#

Executes when a user presses a button component on a message

  • interaction -> Button interaction: The button interaction containing everything about the button that was pressed