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 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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 importpauseOnEmpty
fromsettings.js
and putinside the first lines of code for the
voicrStateUpdate
handler, you shouls be able to achieve this.Additionally, I'm gonna rework on this soon if you'd prefer to wait.