Question about the type of channel option type for the slash command
I have a question about
I would appreciate any clarification you can give me. (This text is a translation, so please forgive me if there are any mistakes.)
ApplicationCommandOptionChannelTypesMixin.addChannelTypes() and APIApplicationCommandChannelOption.channel_types.
In APIApplicationCommandChannelOption.channel_types, ChannelType.GuildDirectory is allowed, but not in the builder addChannelTypes().
Which is the correct behavior?I would appreciate any clarification you can give me. (This text is a translation, so please forgive me if there are any mistakes.)
4 Replies
:pr_merge: #1300 in discordjs/discord-api-types by Jiralite merged <t:1752424402:R>
fix(APIApplicationCommandChannelOption): Exclude directory channels
Thanks for fixing it!
The thread owner has marked this issue as solved.