aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitea.py
diff options
context:
space:
mode:
authorGravatar Noah Pederson2019-09-26 05:50:10 -0500
committerGravatar Noah Pederson2019-09-26 05:50:10 -0500
commitf70e46a19899052139e9d5a5c2373aafc425e39e (patch)
tree7d3f2632feb5ff8818ae04c25ed3b68765ec0b95 /modules/git_webhooks/gitea.py
parentadd 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/git_webhooks/gitea.py')
0 files changed, 0 insertions, 0 deletions