only use voice channels

This commit is contained in:
Baipyrus 2024-02-08 18:43:01 +01:00
parent 83068ae085
commit 03fb793b6c

View File

@ -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.')
) )
); );