Class: Discordrb::Events::MentionableSelectEvent

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

Overview

Event for when a user interacts with a select mentionable 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, #get_component, #respond, #send_message, #show_modal, #update_message

Instance Attribute Details

#valuesHash<Symbol => Array<User>, Symbol => Array<Role>> (readonly)

Returns Selected values.

Returns:

  • (Hash<Symbol => Array<User>, Symbol => Array<Role>>)

    Selected values.



450
451
452
# File 'lib/discordrb/events/interactions.rb', line 450

def values
  @values
end