diff --git a/src/types/database.d.ts b/src/types/database.d.ts index 3dd4f8f..661f4c1 100644 --- a/src/types/database.d.ts +++ b/src/types/database.d.ts @@ -1,12 +1,14 @@ interface database { - webhook: { - id: string; - token: string; - }; - bracket: { - msg: string; - quotes: string[]; - votes: { [index: number]: number }; - users: { [index: string]: number }; - }; + [index: string]: { + webhook: { + id: string; + token: string; + }; + bracket: { + msg: string; + quotes: string[]; + votes: { [index: number]: number }; + users: { [index: string]: number }; + }; + } } \ No newline at end of file