aboutsummaryrefslogtreecommitdiffstats
path: root/bot/pagination.py (unfollow)
Commit message (Collapse)AuthorLines
2020-03-15Deseasonify: improve `in_month` command checkGravatar kwzrd-4/+15
Raise a custom exception if the command fails. This is then handled in the error handler, and the user will be informed of which months allow the invoked command.
2020-03-15Deseasonify: lock branding commands to moderation rolesGravatar kwzrd-1/+3
2020-03-15Deseasonify: use more descriptive name for `Record` namedtupleGravatar kwzrd-15/+15
2020-03-14Deseasonify: improve logic in `set` commandGravatar kwzrd-14/+15
Prevent re-applying branding if the user requests an already active season. This saves us an expensive operation. Only trigger typing if season switch was successful and `apply` will be called, as otherwise the bot will respond immediately.