Navy.gif
822bf608f3
rebuild option in rescan request command to request songs music downloader classes misc fixes
37 lines
600 B
TypeScript
37 lines
600 B
TypeScript
type GuildConfig = {
|
|
id: string,
|
|
voiceChannel: string,
|
|
textOutput?: string,
|
|
}
|
|
|
|
export type MusicPlayerOptions = {
|
|
library: string,
|
|
guilds: GuildConfig[]
|
|
}
|
|
|
|
export type MusicIndexEntry = {
|
|
id: number,
|
|
artist: string,
|
|
title: string,
|
|
album?: string,
|
|
year?: number,
|
|
genre: string[]
|
|
file: string,
|
|
stats: {
|
|
plays: number,
|
|
skips: number
|
|
}
|
|
}
|
|
|
|
export type MusicQuery = {
|
|
title?: string
|
|
artist?: string,
|
|
keyword?: string,
|
|
id?: number
|
|
}
|
|
|
|
export type QueueOrder = {
|
|
artist?: string,
|
|
title?: string,
|
|
id?: number
|
|
} |