feat: add ffmpeg music player

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-15 17:17:17 +07:00
parent acb43b6dac
commit 9e07a0a1f3
3 changed files with 146 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ export class DiscordPlayer {
this.connection.subscribe(this.player);
}
public isConnected(): boolean {
return this.connection !== null;
}
public playStream(stream: Readable) {
console.log("[player] Starting new audio stream...");