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

Prevent audio players from sharing the same resource #48

Closed
amishshah opened this issue Feb 10, 2021 · 0 comments · Fixed by #49
Closed

Prevent audio players from sharing the same resource #48

amishshah opened this issue Feb 10, 2021 · 0 comments · Fixed by #49

Comments

@amishshah
Copy link
Member

@kyranet raised a good point in https://github.com/discordjs/guide/pull/595/files#r573217744. The library should prevent users from playing the same resource across multiple players. This could be achieved by having the resource "locked" while being played by an audio player, and then attempting to play a locked resource should throw.

@amishshah amishshah added this to To do in Initial Release via automation Feb 10, 2021
Initial Release automation moved this from To do to Done Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant