0
0
Fork 0

Restructure database to have per-guild data

This commit is contained in:
Oliver-Akins 2021-07-22 12:56:24 -06:00
parent 0cc34a1517
commit be470cda9e

View file

@ -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 };
};
}
}