diff options
author | 2020-03-31 19:53:47 +0200 | |
---|---|---|
committer | 2020-03-31 20:59:23 +0200 | |
commit | effa0e4df75b1c2ba24608297e362cc776d66236 (patch) | |
tree | a93af425d21019c59e6b046eeb17a7ab2dfaaa98 /bot/utils/decorators.py | |
parent | Deseasonify: adjust 'Merrybot' to 'MerryBot' (diff) |
Deseasonify: validate season setup
Add a static check confirming that no seasons overlap. This avoids
having to deal with ambiguities in `get_current_season` at runtime,
as we can now rely on `len(active_seasons)` always being 0 or 1.
Co-authored-by: MarkKoz <[email protected]>
Diffstat (limited to 'bot/utils/decorators.py')
0 files changed, 0 insertions, 0 deletions