diff options
Diffstat (limited to 'src/gateway/opcodes/VoiceStateUpdate.ts')
-rw-r--r-- | src/gateway/opcodes/VoiceStateUpdate.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gateway/opcodes/VoiceStateUpdate.ts b/src/gateway/opcodes/VoiceStateUpdate.ts index 20502584..5fd7cf97 100644 --- a/src/gateway/opcodes/VoiceStateUpdate.ts +++ b/src/gateway/opcodes/VoiceStateUpdate.ts @@ -58,9 +58,9 @@ export async function onVoiceStateUpdate(this: WebSocket, data: Payload) { }); } - //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 this may fail + //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: this may fail voiceState.member = await Member.findOneOrFail({ where: { id: voiceState.user_id, guild_id: voiceState.guild_id }, relations: ["user", "roles"] |