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:



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

def custom_id
  @custom_id
end

#max_valuesInteger? (readonly)

Returns:



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

def max_values
  @max_values
end

#min_valuesInteger? (readonly)

Returns:



151
152
153
# File 'lib/discordrb/data/component.rb', line 151

def min_values
  @min_values
end

#optionsArray<Option> (readonly)

Returns:



157
158
159
# File 'lib/discordrb/data/component.rb', line 157

def options
  @options
end

#placeholderString? (readonly)

Returns:



154
155
156
# File 'lib/discordrb/data/component.rb', line 154

def placeholder
  @placeholder
end