aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-06-12Incidents: make `on_message` ignore pinned messagesGravatar kwzrd-0/+5
This is now necessary as we call the listener ourselves from the crawl task. An already existing, pinned message, can be received.
2020-06-12Incidents: implement & schedule `crawl_incidents` taskGravatar kwzrd-0/+32
See docstring for further information. This will run on start-up to retroactively add missing emoji. Ratelimit-wise this should be fine, as there should never be too many missing emoji.
2020-06-12Incidents: implement `on_message` listener & guardsGravatar kwzrd-3/+20
2020-06-12Incidents: implement `add_signals` helperGravatar kwzrd-2/+6
Looks like it can be static, at least for now.
2020-06-12Incidents: define method stubs for message event handlingGravatar kwzrd-0/+10
2020-06-11Incidents: define allowed roles and emojiGravatar kwzrd-1/+5
These serve as whitelists, i.e. any reaction using an emoji not explicitly allowed, or from a user not specifically allowed, will be rejected. Such reactions will be removed by the bot.
2020-06-11Incidents: add #incidents-archive webhook constantGravatar kwzrd-1/+2
2020-06-11Incidents: add #incidents-archive channel constantGravatar kwzrd-0/+2
2020-06-11Add cooldown to Channels in constants.pyGravatar Joseph Banks-0/+1
2020-06-11Add cooldown channel to EXCLUDED_CHANNELS tupleGravatar Joseph Banks-1/+1
2020-06-11Add cooldown channel to config-default.ymlGravatar Joseph Banks-0/+1
2020-06-11Fix trailing whitespace in Action fileGravatar Joseph Banks-1/+1