Without this, commands like /state and /puzzle on old puzzle just die.
Bugs that we want to fix before Hunt 2021
-----------------------------------------
+
• Move sheets into a subfolder
• Add "/hunt new"
Ordered punch-list (aiming to complete by 2021-01-08)
-----------------------------------------------------
+• Add an "archive channel" button that is provided out after a puzzle
+ has been solved.
+
• Add tags to the puzzle edit interface
• Make the /hunt command drop from the database any rounds that have 0
# For a meta puzzle, also display the titles and solutions for all
# puzzles in the same round.
- if puzzle['type'] == 'meta':
+ if puzzle.get('type', 'plain') == 'meta':
puzzles = hunt_puzzles_for_hunt_id(turb, puzzle['hunt_id'])
# Drop this puzzle itself from the report
round = '-' + puzzle_id_from_name(puzzle['rounds'][0])
meta = ''
- if puzzle['type'] == 'meta':
+ if puzzle.get('type', 'plain') == 'meta':
meta = '-m'
# Note: We don't use puzzle['puzzle_id'] here because we're keeping