Closed samuelsogbesan closed 3 years ago
Change the if/else conditions in the voiceStateUpdate hook. We now rely on the isChannelQueue method to determine if the joined queue is a channel.
isChannelQueue
We also have to check if oldChannel.channel is null since it is possible the user hadn't joined a channel before joining queue channel.
oldChannel.channel
There will be a merge conflict with #9 but they're separate functionalities so it should be fine.
Change the if/else conditions in the voiceStateUpdate hook. We now rely on the
isChannelQueue
method to determine if the joined queue is a channel.We also have to check if
oldChannel.channel
is null since it is possible the user hadn't joined a channel before joining queue channel.There will be a merge conflict with #9 but they're separate functionalities so it should be fine.