|
|
|
@ -81,6 +81,11 @@ class ytpCommand extends Command {
|
|
|
|
|
match: 'flag',
|
|
|
|
|
flag: ['--squidward']
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 'debug',
|
|
|
|
|
match: 'flag',
|
|
|
|
|
flag: ['--debug']
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 'link',
|
|
|
|
|
type: 'string'
|
|
|
|
@ -170,7 +175,7 @@ class ytpCommand extends Command {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let options = {
|
|
|
|
|
debug: false, // Better set this to false to avoid flood in console
|
|
|
|
|
debug: args.debug,
|
|
|
|
|
MAX_STREAM_DURATION: Math.floor((Math.random() * 3) + 1), // Random duration of video clip
|
|
|
|
|
sources: './asset/ytp/sources/',
|
|
|
|
|
sounds: './asset/ytp/sounds/',
|
|
|
|
|