2024-03-24 19:56:03 +01:00
|
|
|
type GuildConfig = {
|
|
|
|
id: string,
|
|
|
|
voiceChannel: string,
|
|
|
|
textOutput?: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type MusicPlayerOptions = {
|
|
|
|
library: string,
|
|
|
|
guilds: GuildConfig[]
|
2024-03-25 11:19:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export type MusicIndexEntry = {
|
|
|
|
arist: string,
|
|
|
|
title: string,
|
|
|
|
album?: string,
|
|
|
|
year?: number,
|
|
|
|
file: string,
|
2024-03-25 20:22:24 +01:00
|
|
|
stats: {
|
|
|
|
plays: number,
|
|
|
|
skips: number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export type MusicQuery = {
|
|
|
|
title?: string
|
|
|
|
artist?: string,
|
|
|
|
keyword?: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export type QueueOrder = {
|
|
|
|
artist?: string,
|
|
|
|
title: string
|
2024-03-24 19:56:03 +01:00
|
|
|
}
|