diff options
| author | 2023-01-16 01:21:06 -0500 | |
|---|---|---|
| committer | 2023-01-16 01:21:06 -0500 | |
| commit | 8e8750601fe5b41c773cbc51838bec9b5638074c (patch) | |
| tree | a7e2806ebeaa85f433781231a4d6b84e54d5d3c0 /bot/utils/__init__.py | |
| parent | De-Halloween-ify reaction Cog: move file, rename internals (diff) | |
Add non-Christmas holiday reaction capabilities
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
Diffstat (limited to 'bot/utils/__init__.py')
0 files changed, 0 insertions, 0 deletions