I using discord.js V14 to check if a voice channel has streaming permissions enabled.
I tried this but it's not working.
if (voiceChannel.permissionsFor(voiceChannel.guild.id).has("STREAM"))
It gives me the following error:
RangeError [BitFieldInvalid]: Invalid bitfield flag or number: STREAM.
btw, this code is working perfectly with the "Connect" permission.