diff --git a/src/structures/member.ts b/src/structures/member.ts index ee60bf7..eb2593a 100644 --- a/src/structures/member.ts +++ b/src/structures/member.ts @@ -88,7 +88,7 @@ export class Member extends SnowflakeBase { deaf: data.deaf, mute: data.mute, channel_id: - typeof data.channel === 'string' ? data.channel : data.channel?.id + data.channel instanceof VoiceChannel ? data.channel.id : data.channel } const res = await this.client.rest.patch(