Can `.addChannelOption()` take more than 1 channels as input?
I have a discord bot for creating breakout rooms. It has 2 main slash commands:
1. create breakout rooms (voice channels)
2. move members from the main room to the breakout rooms.
I have a problem with the 2nd slash command, which takes 2 input: the main room and the breakout rooms. It seems that .
What I want is a single
Is there a way around it?
Source code containing the current and desired code:
https://pastebin.com/Q1cC5Xjc
1. create breakout rooms (voice channels)
2. move members from the main room to the breakout rooms.
I have a problem with the 2nd slash command, which takes 2 input: the main room and the breakout rooms. It seems that .
addChannelOption() can only take 1 input, so I have to create multiple .addChannelOption(), which is cumbersome from the user's perspective. (screenshot 1).What I want is a single
.addChannelOption() that can take more than 1 channels. So, after the user clicked the 'breakout-rooms' option, the user can simply spam click on the suggested voice channels (screenshot 2). But that doesn't seem to be possible (or is it?). Is there a way around it?
Source code containing the current and desired code:
https://pastebin.com/Q1cC5Xjc


Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
