diff options
| author | 2019-09-26 05:50:10 -0500 | |
|---|---|---|
| committer | 2019-09-26 05:50:10 -0500 | |
| commit | f70e46a19899052139e9d5a5c2373aafc425e39e (patch) | |
| tree | 7d3f2632feb5ff8818ae04c25ed3b68765ec0b95 /modules/line_handler/core.py | |
| parent | add require_access flags to !silence/!unsilence (diff) | |
Improves sentence processing for karma
Changes the matching regex to grab arbitrary text between ()
for giving (or taking away) karma. Still supports single words
followed by ++/--, including usernames, and strips "," or ":"
characters from the end if a single-word match.
ex. (some sentence to give karma to)++ -> "[Karma] some sentence to give
karma to now has 1 karma"
ex. ngp:++ -> "[Karma] ngp now has 200 karma"
Diffstat (limited to 'modules/line_handler/core.py')
0 files changed, 0 insertions, 0 deletions
