Files
dj-spangebob/src/global.d.ts
Patryk Koreń 20a36703e6 added loop
2026-02-12 17:51:08 +01:00

23 lines
402 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
loop: AudioFile | null
}
type HistoryObject = {
interaction: ChatInputCommandInteraction<CacheType>
url: string
}