fix: adapt code to modernized libraries

- Migrate validation.ts from class-transformer/class-validator to Zod
- Apply Biome auto-fixes (import sorting, nodejs protocol)
- Fix duplicate type identifier in validation.ts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-15 04:25:06 +07:00
parent 203aa9a589
commit 29fcde69e4
10 changed files with 74 additions and 49 deletions

View File

@@ -1,3 +1,4 @@
import { Readable } from "node:stream";
import {
AudioPlayer,
AudioPlayerStatus,
@@ -6,7 +7,6 @@ import {
StreamType,
VoiceConnection,
} from "@discordjs/voice";
import { Readable } from "stream";
export class DiscordPlayer {
private player: AudioPlayer;