Add select menu interaction for editing list of channels

This commit is contained in:
Charlie Laabs
2021-12-28 19:10:14 -06:00
parent 2f719ba1ee
commit fbee6ef249
2 changed files with 147 additions and 50 deletions

View File

@@ -66,6 +66,11 @@ export const listenChannelCommand = new SlashCommandBuilder()
sub
.setName('list')
.setDescription(`List the channels the bot is currently actively listening to.`)
)
.addSubcommand((sub) =>
sub
.setName('modify')
.setDescription(`Add or remove channels via select menu UI (first 25 text channels only)`)
);
export const trainCommand = new SlashCommandBuilder()