generated from Baipyrus/DiscordJS-Template
only use voice channels
This commit is contained in:
parent
83068ae085
commit
03fb793b6c
@ -24,6 +24,7 @@ export const data = new SlashCommandBuilder()
|
|||||||
option
|
option
|
||||||
.setRequired(true)
|
.setRequired(true)
|
||||||
.setName('channel')
|
.setName('channel')
|
||||||
|
.addChannelTypes(ChannelType.GuildVoice)
|
||||||
.setDescription('The voice channel to be used.')
|
.setDescription('The voice channel to be used.')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user