Fixing a minor object reference issue

This commit is contained in:
Bradley Bickford 2023-11-19 18:46:52 -05:00
parent b5ded6acaf
commit 7c4b5c52f1

View File

@ -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)