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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user