Doing to some state value checking now that the event works

This commit is contained in:
Bradley Bickford 2023-11-12 10:49:22 -05:00
parent 5507fea98e
commit 87be8ca8db

View File

@ -81,8 +81,10 @@ client.on(Events.GuildCreate, async guild => {
})
client.on(Events.VoiceStateUpdate, async (oldState, newState) => {
console.log(`Old State ${oldState}`)
console.log(`New State ${newState}`)
console.log(`Old State`)
console.log(`\t ${oldState.guild.name} - ${oldState.channel.name} - ${oldState.member.username}`)
console.log(`New State`)
console.log(`\t ${newState.guild.name} - ${newState.channel.name} - ${newState.member.username}`)
})
client.on(Events.MessageCreate, async message => {