Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Erela.js breaks voiceStateUpdate of bot itself #136

Closed
topjor opened this issue Sep 19, 2021 · 4 comments
Closed

Erela.js breaks voiceStateUpdate of bot itself #136

topjor opened this issue Sep 19, 2021 · 4 comments
Labels
awaiting fix If a issue is awaiting a fix bug Something isn't working

Comments

@topjor
Copy link

topjor commented Sep 19, 2021

When a player is active, erela.js breaks the voiceStateUpdate newState from discord.js.
when a bot is force disconnected by an admin, the newState.channel gets messed up and set to the same value as the oldState even though being disconnected.
when using a secondary instance of the bot where no player is active, the observed newState is correct but on the instance where the player is active, the newState gets messed with and is somehow set to the same value as the oldValue.

@DaXcess
Copy link

DaXcess commented Sep 28, 2021

Perhaps an issue in

data.d.channel_id = player.voiceChannel;
as the actual packet is being mutated.

@topjor
Copy link
Author

topjor commented Oct 5, 2021

jep thats the issue!

@viztea viztea added awaiting fix If a issue is awaiting a fix bug Something isn't working labels Oct 27, 2021
@viztea
Copy link
Collaborator

viztea commented Dec 4, 2021

Fixed by #142?

@viztea
Copy link
Collaborator

viztea commented Jan 26, 2022

closed in favor of #145

@viztea viztea closed this as completed Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
awaiting fix If a issue is awaiting a fix bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants