Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #172 from GrafeasGroup/feature/cancel-is-synonymou…
Browse files Browse the repository at this point in the history
…s-with-unclaim

Adds alias for "unclaim": "cancel" (Fixes #168)
  • Loading branch information
itsthejoker committed Nov 20, 2019
2 parents f998bc2 + 661bbfa commit 4936814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Replaces `setup.py` with Poetry tooling for development and packaging ease
- Fixes no-author condition if the mods message the bot
- Adds `cancel` as an alias for `unclaim` for user directives to the bot

## [3.11.2] - 2019-09-14

Expand Down
2 changes: 1 addition & 1 deletion tor/core/inbox.py
Expand Up @@ -95,7 +95,7 @@ def process_reply(reply, cfg):
reply.mark_read()
return

if 'unclaim' in r_body:
if 'unclaim' in r_body or 'cancel' in r_body:
process_unclaim(reply, cfg)
reply.mark_read()
return
Expand Down

0 comments on commit 4936814

Please sign in to comment.