added loop

This commit is contained in:
Patryk Koreń
2026-02-12 17:51:08 +01:00
parent f9f0ba9b1f
commit 20a36703e6
4 changed files with 50 additions and 6 deletions

9
src/global.d.ts vendored
View File

@@ -10,12 +10,13 @@ type AudioFile = {
}
type Queue = {
songList: AudioFile[],
current: AudioFile | null,
songList: AudioFile[]
current: AudioFile | null
loop: AudioFile | null
}
type HistoryObject = {
interaction: ChatInputCommandInteraction<CacheType>,
url: string,
interaction: ChatInputCommandInteraction<CacheType>
url: string
}