diff --git a/dist/config.js b/dist/config.js index 5e69d5a1e..ea81ecad4 100644 --- a/dist/config.js +++ b/dist/config.js @@ -11,7 +11,7 @@ export default { yellow: 0xffff00, main: 0x2F3136, }, - searchEngine: process.env.SEARCH_ENGINE || SearchEngine.SoundCloud, + searchEngine: process.env.SEARCH_ENGINE || SearchEngine.YouTube, maxPlaylistSize: parseInt(process.env.MAX_PLAYLIST_SIZE) || 100, maxQueueSize: parseInt(process.env.MAX_QUEUE_SIZE) || 100, owners: process.env.OWNERS?.split(','), diff --git a/dist/config.js.map b/dist/config.js.map index 33c623e98..0cc72c79f 100644 --- a/dist/config.js.map +++ b/dist/config.js.map @@ -1 +1 @@ -{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,eAAe;IACX,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK;IACxB,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM;IAC1B,KAAK,EAAE;QACH,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,QAAQ;KACjB;IACD,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,YAAY,CAAC,UAA0B;IAClF,eAAe,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,GAAG;IAC/D,YAAY,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,GAAG;IACzD,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;IAClC,QAAQ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I,YAAY,CAAC,OAAuB;IAC/E,eAAe,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,GAAG;IAC/D,YAAY,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,GAAG;IACzD,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;IAClC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS;IAC/B,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ;IAC7B,UAAU,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,IAAI;IACxD,QAAQ,EAAE,CAAC;YACP,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;YAC7B,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa;YAC/B,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa;YAC/B,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,KAAK;SAC7D,CAAC;CAEL,CAAA;AAED,SAAS,YAAY,CAAC,KAAyB;IAC3C,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;QAC7B,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;KACtC;IACD,QAAQ,KAAK,EAAE;QACX,KAAK,MAAM;YACP,OAAO,IAAI,CAAC;QAChB;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC;AACD;;;;;;;;GAQG"} \ No newline at end of file diff --git a/package.json b/package.json index ebd01dd4f..3bd821d19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lavamusic", - "version": "3.0.0", + "version": "3.1.0", "description": "LavaMusic is a music bot for Discord, written in JavaScript using the Discord.js, Typescript, Shoukak (Lavalink) library.", "type": "module", "main": "dist/index.js", diff --git a/src/config.ts b/src/config.ts index f5ec510f4..938fc3c0d 100644 --- a/src/config.ts +++ b/src/config.ts @@ -12,7 +12,7 @@ export default { yellow: 0xffff00, main: 0x2F3136, }, - searchEngine: process.env.SEARCH_ENGINE || SearchEngine.SoundCloud as SearchEngine, + searchEngine: process.env.SEARCH_ENGINE || SearchEngine.YouTube as SearchEngine, maxPlaylistSize: parseInt(process.env.MAX_PLAYLIST_SIZE) || 100, maxQueueSize: parseInt(process.env.MAX_QUEUE_SIZE) || 100, owners: process.env.OWNERS?.split(','),