blob: 1db8c28f6711efc296efac60101e4d4ad192d4ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
'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;
|