aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons.py (follow)
Commit message (Collapse)AuthorAgeLines
* Get rid from branding management stuffGravatar ks1292020-11-17-181/+0
|
* Deseasonify: validate season setupGravatar kwzrd2020-03-31-3/+22
| | | | | | | | 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]>
* Deseasonify: adjust 'Merrybot' to 'MerryBot'Gravatar kwzrd2020-03-31-1/+1
| | | | | | | For the sake of consistency - all other seasonal bot names have the B capitalized. Co-authored-by: MarkKoz <[email protected]>
* Refactor: adjust docstrings based on feedbackGravatar kwzrd2020-03-31-6/+6
| | | | | | | | * Capitalize month names * Add backticks to `sha` attr reference * Avoid misusing the term 'poll' Co-authored-by: MarkKoz <[email protected]>
* Refactor: capitalize Month enum membersGravatar kwzrd2020-03-31-6/+6
| | | | Co-authored-by: MarkKoz <[email protected]>
* Deseasonify: resolve current season w.r.t. month overrideGravatar kwzrd2020-03-30-2/+2
| | | | | | | Previously, the env var was only being used for seasonal decorators, not branding. Although for testing purposes, seasons can be easily set via bot commands, it makes sense to also use the env var to choose the current season.
* Deseasonify: add helper to give all available seasonsGravatar kwzrd2020-03-28-1/+6
|
* Deseasonify: separate seasonal definitions into new moduleGravatar kwzrd2020-03-28-0/+157
Since the original `seasons` package is now called just `exts`, it makes sense to migrate all season-specific definitions out into a separate module. This module now contains everything relating to 'new' seasons, i.e. just branding tooling.