fix: fix deprecation

This commit is contained in:
GramingFoxTeam
2023-03-20 21:33:01 +03:00
parent 715aa918cf
commit 4373ede855

View File

@@ -2,7 +2,7 @@ import {
ContextMenuCommandBuilder,
ApplicationCommandType,
ActionRowBuilder,
SelectMenuBuilder,
StringSelectMenuBuilder,
ComponentType
} from 'discord.js';
@@ -31,7 +31,7 @@ export default {
}
const row = new ActionRowBuilder().addComponents(
new SelectMenuBuilder()
new StringSelectMenuBuilder()
.setCustomId('select')
.setPlaceholder('Nothing selected')
.addOptions(options)