Slash Command : How to set the type channel option to voice only
5 Replies
Solution
.addChannelTypes()
as an example
addChannelTypes(ChannelType.GuildText)
i can't auto-import ChannelType , where i can find it ?
you can import it from discord.js
or discord-api-types
import { ChannelType } from "discord.js"
or the require equivalentThanks a lot !! it worked
no worries ^^