UNPKG

discord.js

Version:

A powerful library for interacting with the Discord API

22 lines (17 loc) 510 B
'use strict'; const MessageComponentInteraction = require('./MessageComponentInteraction'); /** * Represents a {@link ComponentType.StringSelect} select menu interaction. * @extends {MessageComponentInteraction} */ class StringSelectMenuInteraction extends MessageComponentInteraction { constructor(client, data) { super(client, data); /** * The values selected * @type {string[]} */ this.values = data.data.values ?? []; } } module.exports = StringSelectMenuInteraction;