-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworks the bot to actually make use of the additional DB related powers. Everything has been refactored to avoid a lot of duplicated code and weirdly implemented things. Fixes an issue where the bot would be immediately able to respond if it had just been restarted. Probably we do other stuff too.
- Loading branch information
matthew-robertson
committed
Jan 16, 2019
1 parent
a5dab88
commit d932688
Showing
6 changed files
with
123 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
CREATE TABLE `server` ( | ||
server_id Varchar PRIMARY KEY NOT NULL, | ||
infracted_at Varchar NOT NULL, | ||
calledout_at Varchar NOT NULL, | ||
awake Int DEFAULT 1 | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters