summaryrefslogtreecommitdiff
path: root/node_modules/discord.js/src/structures/StringSelectMenuComponent.js
blob: e008ae5f2b082729498fc797a0ff93a9d1a56b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'use strict';

const BaseSelectMenuComponent = require('./BaseSelectMenuComponent');

/**
 * Represents a string select menu component
 * @extends {BaseSelectMenuComponent}
 */
class StringSelectMenuComponent extends BaseSelectMenuComponent {
  /**
   * The options in this select menu
   * @type {APISelectMenuOption[]}
   * @readonly
   */
  get options() {
    return this.data.options;
  }
}

module.exports = StringSelectMenuComponent;