From d34a3d43450d9f786a25300b288d9edd3256e6d3 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 28 Oct 2019 16:43:44 +0100 Subject: [PATCH] Chnage the max stream duration adn let minimum as default --- commands/fun/ytp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/ytp.js b/commands/fun/ytp.js index 5c149d44..8bab380f 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -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/',