mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
feat: Change from yt-stream to @distube/ytdl-core for streaming audio
This commit is contained in:
1 parent
f6bf0e6e41
commit
fa15af5b14
4 files changed
+47
-10
No files matched your search
@@ -97,6 +97,7 @@ module.exports = {
|
||||
});
|
||||
}
|
||||
|
||||
/* seems to be supported with @distube/ytdl-core, keeping it commented out to test functionality
|
||||
if (
|
||||
searchResult.tracks[0].raw.live &&
|
||||
searchResult.tracks[0].raw.duration === 0 &&
|
||||
@@ -116,6 +117,7 @@ module.exports = {
|
||||
]
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
queue = useQueue(interaction.guild.id);
|
||||
let queueSize = queue?.size ?? 0;
|
||||
|
||||
Reference in new issue
Block a user