Closed pianiststickman closed 4 years ago
So, this no longer crashes p!rooms
(or its replacement in the real-time display).
Rooms can still be ghost-locked so the fix here is to run the voiceStateUpdate
logic for members leaving channels upon guildMemberRemove
. (The simplicity of this may depend on whether or not the ghost GuildMember still has a reference to the VoiceChannel - if so, this is an easy refactoring.)
Fixed in #136
Workaround is to issue
p!unlock
on the room, but it's hard to tell which room is ghost-locked without havingp!rooms
working, of course.