This repository was archived by the owner on Jul 23, 2024. It is now read-only.
question #44
Answered
by
moonstar-x
JacProsser
asked this question in
Q&A
question
#44
|
just wondering if you could point me to where the code for "pause_on_empty" is located? I'm currently trying to do this in my bot and it isn't working well |
Answered by
moonstar-x
May 28, 2021
Replies: 1 comment 5 replies
|
Hey, I'm sorry but I believe I haven't mentioned that the option is not really implemented yet. I don't know why I thought it was a good idea to put the options before really implementing them. In any case, the code is in if (!pauseOnEmpty) return;inside the first lines of code for the Additionally, I'm gonna rework on this soon if you'd prefer to wait. |
5 replies
Answer selected by
JacProsser
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, I'm sorry but I believe I haven't mentioned that the option is not really implemented yet. I don't know why I thought it was a good idea to put the options before really implementing them.
In any case, the code is in
app.js, if you importpauseOnEmptyfromsettings.jsand putinside the first lines of code for the
voicrStateUpdatehandler, you shouls be able to achieve this.Additionally, I'm gonna rework on this soon if you'd prefer to wait.