Restructure database to have per-guild data
This commit is contained in:
parent
0cc34a1517
commit
be470cda9e
1 changed files with 12 additions and 10 deletions
2
src/types/database.d.ts
vendored
2
src/types/database.d.ts
vendored
|
|
@ -1,4 +1,5 @@
|
||||||
interface database {
|
interface database {
|
||||||
|
[index: string]: {
|
||||||
webhook: {
|
webhook: {
|
||||||
id: string;
|
id: string;
|
||||||
token: string;
|
token: string;
|
||||||
|
|
@ -10,3 +11,4 @@ interface database {
|
||||||
users: { [index: string]: number };
|
users: { [index: string]: number };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue