Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Allow the other side of the voice adapter to signal that it has been destroyed #78

Closed
amishshah opened this issue Mar 14, 2021 · 0 comments · Fixed by #79
Closed

Allow the other side of the voice adapter to signal that it has been destroyed #78

amishshah opened this issue Mar 14, 2021 · 0 comments · Fixed by #79

Comments

@amishshah
Copy link
Member

If the producer of a voice adapter realises that the voice adapter can no longer be used (e.g. shard has been disconnected), it is currently unable to relay this information to @discordjs/voice.

In this situation, the producer should be able to signal to the library that the adapter can no longer be used, and the library should destroy the voice connection. When it is possible to recreate the voice adapter, the user can then recreate the voice connection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant