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

Commit

Permalink
Adds alias for "unclaim": "cancel" (Fixes #168)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLonelyGhost committed Nov 20, 2019
1 parent f998bc2 commit 661bbfa
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 661bbfa

Please sign in to comment.