voiceChannel.speakable not available?

Perhaps this was changed in a DJS update, but why can't I use voiceChannel.speakable anymore?
const voiceChannel = interaction.member.voice?.channel;
voiceChannel.speakable
const voiceChannel = interaction.member.voice?.channel;
voiceChannel.speakable
15 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dzlandis
dzlandisOP3y ago
This may be a typing issue as well, if it is, I need help with that as well 🙏
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jaworek
Jaworek3y ago
but why StageChannel doesn't have it?
dzlandis
dzlandisOP3y ago
How do I go about handling this then?
Jaworek
Jaworek3y ago
typeguard the channel .type === ChannelType.GuildVoice
dzlandis
dzlandisOP3y ago
I'll try that And how do I check if my bot can speak in a stage channel then?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jaworek
Jaworek3y ago
it even doesnt relay of any info just a getter
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jaworek
Jaworek3y ago
u see?
dzlandis
dzlandisOP3y ago
Isn't that the .speakable part though... I'm rewriting my bot in Typescript right now and I've been able to use .speakable previously for Stage Channels 🤷‍♂️ Is it possible the typing is just wrong?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server