Chnage the max stream duration adn let minimum as default

This commit is contained in:
loicbersier 2019-10-28 16:43:44 +01:00
parent 3024f011b6
commit d34a3d4345

View file

@ -115,7 +115,7 @@ class ytpCommand extends Command {
let options = {
debug: false, // Better set this to false to avoid flood in console
MIN_STREAM_DURATION: Math.floor((Math.random() * 3) + 1), // Random duration of video clip
MAX_STREAM_DURATION: Math.floor((Math.random() * 3) + 1), // Random duration of video clip
sources: './asset/ytp/sources/',
sounds: './asset/ytp/sounds/',
music: './asset/ytp/music/',