Test fix for that voice state error

This commit is contained in:
Madeline committed 2022-07-09 16:38:45 +10:00
1 parent a4a72eb9f4
commit 3bca92fee1
1 file changed
+3
+3
View File
@@ -58,6 +58,9 @@ export async function onVoiceStateUpdate(this: WebSocket, data: Payload) {
}); });
} }
// 'Fix' for this one voice state error
if (!voiceState.guild_id) return;
//TODO the member should only have these properties: hoisted_role, deaf, joined_at, mute, roles, user //TODO the member should only have these properties: hoisted_role, deaf, joined_at, mute, roles, user
//TODO the member.user should only have these properties: avatar, discriminator, id, username //TODO the member.user should only have these properties: avatar, discriminator, id, username
//TODO this may fail //TODO this may fail