Lupine
Lupine
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Where you define your node, in the sendGatewayPayload property. Try logging out the guild
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Have you considered that the guild might not have been cached yet?
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
In your client
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
I can only assume that would be in your event folder as it matches the structure of your message event file
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
In this message here: https://discord.com/channels/323365823572082690/1235136736351227914/1235178827416866827 you mentioned you had a file called VoiceStateUpdate.js
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Right, but without knowing the structure of your project, I cannot possibly know that
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
One) In this event handler code Two) In your index file from the previous code snippets you have sent
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
If you have a file in there called VoiceServerUpdate. youll be listening to it more than once
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
So you are listening to events more than once?
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
client.on(file.split('.')[0], event.execute.bind(null, client));
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Unless you havent been sending the full file each time
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Im just trying to wrap my head around why you appear to handle your other events differently
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Im aware this is what you have
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
I still dont understand the structure of your bot? Why do you seemingly listen and handle your VoiceState and VoiceServer updates in your index file whilst also having a handler in seperate files?
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
client.on("VOICE_STATE_UPDATE", (d) => {
})
client.on("VOICE_STATE_UPDATE", (d) => {
})
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
You can listen to events directly from the client
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Listen to it via the client as well, you should be able to drop the ws property
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
Im not sure if GatewayDispatchEvents.VoiceStateUpdate is a little different. This library requires using the raw updates
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
"VOICE_STATE_UPDATE"
77 replies
DFDimensional Fun
Created by arpos on 5/1/2024 in #lavaclient
not playing
"VOICE_SERVER_UPDATE"
77 replies