I think some misplaced brackets were causing the issues

This commit is contained in:
Bradley Bickford 2023-11-12 10:16:41 -05:00
parent 92df0cf4a7
commit 5507fea98e

View File

@ -80,8 +80,9 @@ client.on(Events.GuildCreate, async guild => {
}
})
client.on(Events.VoiceStateUpdate, async ([oldState, newState]) => {
console.log("State Change")
client.on(Events.VoiceStateUpdate, async (oldState, newState) => {
console.log(`Old State ${oldState}`)
console.log(`New State ${newState}`)
})
client.on(Events.MessageCreate, async message => {