-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: update README * feat: update schema to include number of hints used for each team * feat: add team_info command that shows current team status * feat: add query to increase number of hints used by a team * feat: removed need to type team name in add_member command * saving changes * feat: write query to get all finished teams * saving progress * feat: added a hint check to see if team has used all their available hints * feat: added helper functions for hint checking * feat: added hints_used as a new attribute in teams * fix: query did not use quotation marks around string * feat: abstracted the retrieval of the total hint count * feat: added hint status info to team_info * feat: made hint messages in hint requests mandatory * fix: made some context functions not asynchronous * fix: async-await issues * feat: added check for unlimited hints * fix: cursor expected Team object but query only returned team names * fix: forgot to change testing value * feat: add a more ceremonious victory message for finishers * feat: hints are now given every 2 hours instead of every hour
- Loading branch information
Showing
9 changed files
with
204 additions
and
27 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
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
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ class Team(BaseModel): | |
text_channel_id: int | ||
team_role_id: int | ||
puzzle_solved: int | ||
hints_used: int |
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