Забыл убрать лог для дебага

This commit is contained in:
JonnyBro 2022-09-04 21:14:00 +05:00
parent 6e67294d0f
commit 140320205c

View file

@ -93,7 +93,6 @@ class Play extends BaseCommand {
* @param {import("discord-player").Queue} queue * @param {import("discord-player").Queue} queue
*/ */
async onBeforeCreateStream(track, source) { async onBeforeCreateStream(track, source) {
console.log(track, source);
if (source === "youtube" || source === "soundcloud") if (source === "youtube" || source === "soundcloud")
return (await playdl.stream(track.url, { discordPlayerCompatibility: true })).stream; return (await playdl.stream(track.url, { discordPlayerCompatibility: true })).stream;
} }