fix: prevents youtube bot blocking #171

Manually merged
Anri merged 4 commits from temp-fix-music into dev 2024-09-18 17:26:08 +02:00
Showing only changes of commit 7e9dadef1e - Show all commits

View file

@ -14,6 +14,7 @@ export default async (client: Client, isDev: boolean) => {
player.on("debug", async (message) => { player.on("debug", async (message) => {
console.log(`General player debug event: ${message}`); console.log(`General player debug event: ${message}`);
}); });
player.events.on("debug", async (_, message) => { player.events.on("debug", async (_, message) => {
console.log(`Player debug event: ${message}`); console.log(`Player debug event: ${message}`);
}); });