skick1234 / DisTube

A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.
https://distube.js.org
MIT License
423 stars 94 forks source link

leaveOnEmpty option not working #131

Closed emanuelepelandi closed 3 years ago

emanuelepelandi commented 3 years ago

In the declaration of a distube instance i put these options: const distube = new DisTube(client, { searchSongs: true, emitNewSongOnly: true, leaveOnEmpty: true, leaveOnStop: false }); I read documentation for leaveOnEmpty and it does NOT work, when i'm alone with my bot in a voice room and i leave it stays there.

Further information:

skick1234 commented 3 years ago

How do you know DisTube has this?

Screenshot_20210727-211014_Edge~2.png

A custom cooldown option is added on v3 (alpha/beta branch)

emanuelepelandi commented 3 years ago

oop, i didnt read the '60 seconds' part, sorry, my bad