| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* Removing tree to trigger christmas reaction
* Removal of outer parentheses as suggested
Co-authored-by: wookie184 <[email protected]>
---------
Co-authored-by: wookie184 <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* holidayreact: add alternate spellings to february
* Simplify valentine heart regex
Co-authored-by: Preocts <[email protected]>
Co-authored-by: Preocts <[email protected]>
|
|
|
|
|
| |
Co-authored-by: wookie184 <[email protected]>
Co-authored-by: Amrou Bellalouna <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
Additional pending reactions mean putting the reaction Cog in the
halloween directory no longer makes sense. Approriate renamings follow.
|