music-bot/@types/MusicPlayer.d.ts
Navy.gif 2e291c514b Queue & Search commands
General improvements to everything else
2024-03-25 21:22:24 +02:00

33 lines
528 B
TypeScript

type GuildConfig = {
id: string,
voiceChannel: string,
textOutput?: string,
}
export type MusicPlayerOptions = {
library: string,
guilds: GuildConfig[]
}
export type MusicIndexEntry = {
arist: string,
title: string,
album?: string,
year?: number,
file: string,
stats: {
plays: number,
skips: number
}
}
export type MusicQuery = {
title?: string
artist?: string,
keyword?: string
}
export type QueueOrder = {
artist?: string,
title: string
}