diff --git a/src/structures/MessageSelectMenu.js b/src/structures/MessageSelectMenu.js index a5a2472..da48910 100644 --- a/src/structures/MessageSelectMenu.js +++ b/src/structures/MessageSelectMenu.js @@ -209,6 +209,12 @@ class MessageSelectMenu extends BaseMessageComponent { return options.flat(Infinity).map(option => this.normalizeOption(option)); } // Add + /** + * Select in menu + * @param {Message} message Discord Message + * @param {Array} values Option values + * @returns {Promise; + public click(message: Message): Promise; private static resolveStyle(style: MessageButtonStyleResolvable): MessageButtonStyle; } @@ -1837,6 +1837,7 @@ export class MessageSelectMenu extends BaseMessageComponent { ...options: MessageSelectOptionData[] | MessageSelectOptionData[][] ): this; public toJSON(): APISelectMenuComponent; + public select(message: Message, values: Array): Promise; } export class NewsChannel extends BaseGuildTextChannel {