aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Thurisatic <[email protected]>2023-01-16 01:21:06 -0500
committerGravatar Thurisatic <[email protected]>2023-01-16 01:21:06 -0500
commit8e8750601fe5b41c773cbc51838bec9b5638074c (patch)
treea7e2806ebeaa85f433781231a4d6b84e54d5d3c0 /bot/constants.py
parentDe-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/constants.py')
0 files changed, 0 insertions, 0 deletions