From 825ec725d15df6490c0005438ca65e7db24d447a Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 2 Sep 2023 09:42:10 -0400 Subject: [PATCH] Timer planning --- TODO.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/TODO.md b/TODO.md index ddbfebb..1de4969 100755 --- a/TODO.md +++ b/TODO.md @@ -1,10 +1,3 @@ -## In Progress -☑ Switch `/setup` to ask for the tree and leaderboard channels -* Switch `/compare` to check for newer trees and leaderboards when run **and** on every refresh - -## Future Ideas -* Go through and comment the code - ## Variable Structures guildInfo = { @@ -21,7 +14,18 @@ guildInfo = { reminderOptIn: 0, } -## Expected Behaviors +## New Table Planning +Table: `silvanus`.timers -* Run `/compare` before `/setup`: `/compare` will search the current channel for tree and leaderboard messages, then create a comparison embed. If it can't find `/tree` or `/top trees` messages, it'll return an error saying as much. -* Run `/compare` after `/setup`: ``/compare` will search the current channel for tree and leaderboard messages, then create a comparison embed. If it can't find `/tree` or `/top trees` messages, it'll just use old data silently (odds are `/compare` is being run from another channel, that's fine) +id | INT | NOT NULL | AUTO INCREMENT | PRIMARY KEY +status | VARCHAR(10) | NOT NULL | DEFAULT "WAITING" +dc_timecode | INT | NOT NULL | Discord timecode +guild_id | INT UNSIGNED | NOT NULL | Discord guild ID for referencing `silvanus`.guildInfo + + +Table: `silvanus`.auto_role_status + +id | INT | NOT NULL | AUTO INCREMENT | PRIMARY KEY +user_id | INT UNSIGNED | NOT NULL +guild_id | INT UNSIGNED | NOT NULL +status | VARCHAR(10) | NOT NULL | DEFAULT "REMOVED" | OPTION: {"REMOVED", "ADDED"} \ No newline at end of file