aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/holidays/holidayreact.py (follow)
Commit message (Collapse)AuthorAgeLines
* Removing tree to trigger christmas reaction (#1698)Gravatar ibirothe2025-09-18-1/+1
| | | | | | | | | | | * Removing tree to trigger christmas reaction * Removal of outer parentheses as suggested Co-authored-by: wookie184 <[email protected]> --------- Co-authored-by: wookie184 <[email protected]>
* Add additional heart emoticon options for react (#1448)Gravatar Preocts2024-02-07-2/+24
|
* Always use the get_logger func from bot-coreGravatar Chris Lovering2023-11-25-2/+2
|
* holidayreact: add alternate spellings to February (#1214)Gravatar Bradley Reynolds2023-08-23-1/+1
| | | | | | | | * holidayreact: add alternate spellings to february * Simplify valentine heart regex Co-authored-by: Preocts <[email protected]> Co-authored-by: Preocts <[email protected]>
* Apply fixes for ruff lintingGravatar Chris Lovering2023-05-09-2/+2
| | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]>
* Move Earth Day to April, where it belongsGravatar Thurisatic2023-02-01-1/+1
|
* Isolate regex options to capture groupsGravatar Thurisatic2023-01-18-6/+6
|
* Perform small fixes, incl requested: sorting, typo, redundancies, moodGravatar Thurisatic2023-01-17-15/+13
| | | | | | | | - Fixes misspelling of hanukkah regex - Move `_check_message` docstring to imperative mood - Remove redundant `_short_circuit_check` from `_check_message` - Remove redundant comma from `EarthDay`'s reaction list - Sort triggers for Halloween and Christmas
* Add non-Christmas holiday reaction capabilitiesGravatar Thurisatic2023-01-16-18/+89
| | | | | | | | | | Triggers for reactions are moved from a dict to to a 2-deep NamedTuple. This is cleaner for multiple reactions, and allows for additional parameters, such as months. Message case checking is altered from `.lower` to `re.IGNORECASE`. Not only does the regex flag short circuit, it doesn't modify the string in question
* De-Halloween-ify reaction Cog: move file, rename internalsGravatar Thurisatic2023-01-15-0/+71
Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow.