Class: Rubycord::Events::RoleSelectEvent
- Inherits:
-
ComponentEvent
- Object
- Event
- InteractionCreateEvent
- ComponentEvent
- Rubycord::Events::RoleSelectEvent
- Defined in:
- lib/rubycord/events/interactions.rb
Overview
Event for when a user interacts with a select role component.
Instance Attribute Summary collapse
-
#values ⇒ Array<Role>
readonly
Selected values.
Attributes inherited from ComponentEvent
Attributes inherited from InteractionCreateEvent
#channel, #channel_id, #interaction, #server, #server_id, #type, #user
Attributes inherited from Event
Method Summary
Methods inherited from InteractionCreateEvent
#defer, #defer_update, #delete_message, #delete_response, #edit_message, #edit_response, #get_component, #respond, #send_message, #show_modal, #update_message
Instance Attribute Details
#values ⇒ Array<Role> (readonly)
Returns Selected values.
431 432 433 |
# File 'lib/rubycord/events/interactions.rb', line 431 def values @values end |