42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
const { Message, Client, MessageActionRow, MessageSelectMenu } = require("discord.js");
|
|
|
|
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",
|
|
|
|
},
|
|
{
|
|
label:"Professional Member",
|
|
value:"bcsProf",
|
|
},
|
|
{
|
|
label:"Fellow",
|
|
value:"bcsFellow",
|
|
},
|
|
])
|
|
)
|
|
|
|
message.channel.send({content: "Select your BCS status", components:[row3]})
|
|
|
|
}
|
|
} |