diff options
Diffstat (limited to 'node_modules/discord.js/src/structures/StringSelectMenuComponent.js')
-rw-r--r-- | node_modules/discord.js/src/structures/StringSelectMenuComponent.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/discord.js/src/structures/StringSelectMenuComponent.js b/node_modules/discord.js/src/structures/StringSelectMenuComponent.js new file mode 100644 index 0000000..e008ae5 --- /dev/null +++ b/node_modules/discord.js/src/structures/StringSelectMenuComponent.js @@ -0,0 +1,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; |