mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix: fix deprecation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user