class Discorb::MessageComponentInteraction::Button
Represents a button interaction.
Attributes
custom_id[R]
@return [String] The custom id of the button.
Private Instance Methods
_set_data(data)
click to toggle source
# File lib/discorb/interaction.rb, line 419 def _set_data(data) @custom_id = data[:custom_id] end