mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-02 12:43:36 +00:00
Discord.js - StringSelectMenu
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { ActionRowBuilder, SelectMenuBuilder } from "discord.js";
|
||||
import { ActionRowBuilder, StringSelectMenuBuilder } from "discord.js";
|
||||
|
||||
module.exports = function listStations(client, interaction){
|
||||
let stations = new Array();
|
||||
@ -16,7 +16,7 @@ module.exports = function listStations(client, interaction){
|
||||
|
||||
const menu = new ActionRowBuilder()
|
||||
.addComponents(
|
||||
new SelectMenuBuilder()
|
||||
new StringSelectMenuBuilder()
|
||||
.setCustomId('play')
|
||||
.setPlaceholder('Nothing selected')
|
||||
.addOptions(options)
|
||||
|
Reference in New Issue
Block a user