mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Забыл убрать лог для дебага
This commit is contained in:
parent
6e67294d0f
commit
140320205c
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue