hullcss-discord-bot/commands/roleselections/bcs.js

42 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-08-26 13:33:00 +01:00
const { Message, Client, MessageActionRow, MessageSelectMenu } = require("discord.js");
2022-06-01 20:03:01 +01:00
module.exports = {
name: "bcs",
aliases: [''],
/**
*
* @param {Client} client
* @param {Message} message
* @param {String[]} args
*/
run: async (client, message, args) => {
const row3 = new MessageActionRow()
.addComponents(
new MessageSelectMenu()
.setCustomId("bcsSelect")
.setPlaceholder("Select your BCS Status")
.addOptions([
{
label:"Student Member",
value:"bcsStudent",
},
{
label:"Associate Member",
value:"bcsAss",
},
{
2022-07-14 09:59:28 +01:00
label:"Professional Member",
2022-06-01 20:03:01 +01:00
value:"bcsProf",
},
{
label:"Fellow",
value:"bcsFellow",
},
])
)
message.channel.send({content: "Select your BCS status", components:[row3]})
}
}