Getting ChannelType from APIInteractionDataResovledChannel
I'm currently trying to work with chat input commands. And when I create an channel option and use
.getChannel()
to retrieve it. The return type has APIInteractionDataResolvedChannel
which can't be used with methods such as isTextBasedChannel()
is there something I am doing wrong? I've checked the documetnation and APIInteractionDataResolvedChannel
is not in the ChanelTypes
typedef.7 Replies