Class: Discordrb::Components::SelectMenu

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/data/component.rb

Overview

An interactable select menu component.

Defined Under Namespace

Classes: Option

Instance Attribute Summary collapse

Instance Attribute Details

#custom_idString (readonly)

Returns:



137
138
139
# File 'lib/discordrb/data/component.rb', line 137

def custom_id
  @custom_id
end

#max_valuesInteger? (readonly)

Returns:



140
141
142
# File 'lib/discordrb/data/component.rb', line 140

def max_values
  @max_values
end

#min_valuesInteger? (readonly)

Returns:



143
144
145
# File 'lib/discordrb/data/component.rb', line 143

def min_values
  @min_values
end

#optionsArray<Option> (readonly)

Returns:



149
150
151
# File 'lib/discordrb/data/component.rb', line 149

def options
  @options
end

#placeholderString? (readonly)

Returns:



146
147
148
# File 'lib/discordrb/data/component.rb', line 146

def placeholder
  @placeholder
end