refactor base ContestBot logic to use new sqlalchemy models, commit exceptions.py

This commit is contained in:
Xevion
2021-02-13 05:18:34 -06:00
parent 91594646c3
commit c8e0ae1bf2
2 changed files with 70 additions and 20 deletions

3
bot/exceptions.py Normal file
View File

@@ -0,0 +1,3 @@
class FinishedPeriod(Exception):
"""A inactive period, or a period in it's final state cannot be advanced or further modified."""
pass