I think some misplaced brackets were causing the issues
This commit is contained in:
parent
92df0cf4a7
commit
5507fea98e
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user