Trying something simpler for VoiceStateChange notification just to see if the event works
This commit is contained in:
parent
944f8d4e72
commit
92df0cf4a7
@ -81,8 +81,7 @@ client.on(Events.GuildCreate, async guild => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
client.on(Events.VoiceStateUpdate, async ([oldState, newState]) => {
|
client.on(Events.VoiceStateUpdate, async ([oldState, newState]) => {
|
||||||
console.log(`Old State ${oldState}`)
|
console.log("State Change")
|
||||||
console.log(`New State ${newState}`)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
client.on(Events.MessageCreate, async message => {
|
client.on(Events.MessageCreate, async message => {
|
||||||
|
Loading…
Reference in New Issue
Block a user