Initial commit

This commit is contained in:
2024-12-30 11:42:12 -07:00
commit 09ba4114c1
86 changed files with 7522 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
export enum BotStatus {
PLAYING = "Playing",
Idle = "Idle",
}
export interface PlaybackInfoData {
file_name: string;
current_position: number;
duration: number;
}
export interface SongQueue {
song_file_list: {
filename: string;
duration: number;
}[];
position: number;
}
export interface BotResponse {
message_type: "PLAYBACK_INFORMATION" | "ERROR" | "MESSAGE";
status: BotStatus;
error?: string;
message?: string;
playback_information?: PlaybackInfoData;
song_queue?: SongQueue;
}