odin/node_modules/discord.js/src/structures/StringSelectMenuComponent.js
2023-01-29 00:57:47 +01:00

20 lines
441 B
JavaScript

'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;