17 lines
279 B
TypeScript
17 lines
279 B
TypeScript
type Command = {
|
|
name: string,
|
|
register: () => any,
|
|
execute: (interaction: ChatInputCommandInteraction<CacheType>) => Promise<void>,
|
|
}
|
|
|
|
type AudioFile = {
|
|
url: string
|
|
path: string
|
|
}
|
|
|
|
type Queue = {
|
|
songList: AudioFile[],
|
|
current: AudioFile | null,
|
|
}
|
|
|