Initial commit

This commit is contained in:
James Shiffer
2023-10-07 22:46:02 -07:00
commit 68b94e0642
19 changed files with 4095 additions and 0 deletions

25
models.ts Normal file
View File

@@ -0,0 +1,25 @@
/**
* models.ts
* Database models
*/
interface ScoreboardMessageRow {
id: number,
author: number,
guild: number,
channel: number,
content: string,
reaction_1_count: number,
reaction_2_count: number,
reaction_3_count: number
}
interface ScoreboardUserRow {
id: number,
username: string,
reaction_1_total: number,
reaction_2_total: number,
reaction_3_total: number
}
export { ScoreboardMessageRow, ScoreboardUserRow };