mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-18 00:33:59 +00:00
fix: fix deprecation
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
|||||||
ContextMenuCommandBuilder,
|
ContextMenuCommandBuilder,
|
||||||
ApplicationCommandType,
|
ApplicationCommandType,
|
||||||
ActionRowBuilder,
|
ActionRowBuilder,
|
||||||
SelectMenuBuilder,
|
StringSelectMenuBuilder,
|
||||||
ComponentType
|
ComponentType
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const row = new ActionRowBuilder().addComponents(
|
const row = new ActionRowBuilder().addComponents(
|
||||||
new SelectMenuBuilder()
|
new StringSelectMenuBuilder()
|
||||||
.setCustomId('select')
|
.setCustomId('select')
|
||||||
.setPlaceholder('Nothing selected')
|
.setPlaceholder('Nothing selected')
|
||||||
.addOptions(options)
|
.addOptions(options)
|
||||||
|
|||||||
Reference in New Issue
Block a user