Class: Discordrb::Events::SelectMenuEvent

Inherits:
ComponentEvent show all
Defined in:
lib/discordrb/events/interactions.rb

Overview

Event for when a user interacts with a select menu component.

Instance Attribute Summary collapse

Attributes inherited from ComponentEvent

#custom_id, #message

Attributes inherited from InteractionCreateEvent

#channel, #channel_id, #interaction, #server, #server_id, #type, #user

Attributes inherited from Event

#bot

Method Summary

Methods inherited from InteractionCreateEvent

#defer, #defer_update, #delete_message, #delete_response, #edit_message, #edit_response, #respond, #send_message, #update_message

Instance Attribute Details

#valuesArray<String> (readonly)

Returns Selected values.

Returns:

  • (Array<String>)

    Selected values.



370
371
372
# File 'lib/discordrb/events/interactions.rb', line 370

def values
  @values
end