From a5db250ad35c4f0741079fc1c983c01bb6052d04 Mon Sep 17 00:00:00 2001 From: Sebastian Pietschner Date: Sun, 6 Mar 2022 09:25:35 +0000 Subject: [PATCH] fix typo --- src/events/ready.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/ready.ts b/src/events/ready.ts index 1f40bc4..94c915d 100644 --- a/src/events/ready.ts +++ b/src/events/ready.ts @@ -21,7 +21,7 @@ export const ready: Event = { channelMembers[0] const secondary = await createSecondary(channel.guild.channels, element.id, channelMembers[0]) channelMembers.slice(1).forEach(channelMember => { - const currentVoice = channelMember.voice.setChannel(secondary) + channelMember.voice.setChannel(secondary) }); } }