From 7c4b5c52f1ff14de0fb553501cbbb1b64a3d542f Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Sun, 19 Nov 2023 18:46:52 -0500 Subject: [PATCH] Fixing a minor object reference issue --- breadbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breadbot.js b/breadbot.js index 8a976c5..17cbc38 100644 --- a/breadbot.js +++ b/breadbot.js @@ -87,7 +87,7 @@ client.on(Events.VoiceStateUpdate, async (oldState, newState) => { console.log("Voice State Update Fired") if (oldState.channel == null && newState.channel != null) { - console.log(`\tChannel Join Detected ${newState.guild.id} - ${newState.channelId} - ${newState.user.id}`) + console.log(`\tChannel Join Detected ${newState.guild.id} - ${newState.channelId} - ${newState.member.id}`) var existingCallID = await sqlutil.inCall(newState.guild.id, newState.channelId)