forked from Supositware/Haha-Yes
let people specify their stream duration
This commit is contained in:
parent
f570b18912
commit
26fdf7cdb1
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class ytpCommand extends Command {
|
|||
|
||||
let options = {
|
||||
debug: args.debug,
|
||||
MAX_STREAM_DURATION: Math.floor((Math.random() * 3) + 1), // Random duration of video clip
|
||||
MAX_STREAM_DURATION: args.link ? args.link : Math.floor((Math.random() * 3) + 1), // Random duration of video clip
|
||||
sources: './asset/ytp/sources/',
|
||||
sounds: './asset/ytp/sounds/',
|
||||
music: './asset/ytp/music/',
|
||||
|
|
Loading…
Reference in a new issue