Adding preliminary test for Voice State Changed

This commit is contained in:
Bradley Bickford 2023-11-12 10:01:41 -05:00
parent 734aa58e67
commit b9a699c4c2
3 changed files with 680 additions and 61 deletions

View File

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

733
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,9 +9,12 @@
"author": "Bradley Bickford",
"license": "ISC",
"dependencies": {
"@discordjs/opus": "^0.9.0",
"@discordjs/voice": "^0.16.0",
"@vvo/tzdb": "^6.77.0",
"discord.js": "^14.6.0",
"googleapis": "^109.0.1",
"libsodium-wrappers": "^0.7.13",
"mysql": "^2.18.1",
"mysql2": "^3.6.3"
},