diff options
| author | 2019-01-13 22:06:41 +0000 | |
|---|---|---|
| committer | 2019-01-13 22:06:41 +0000 | |
| commit | 7e85197d47aded81fbac3ae0c865fff260c84ba9 (patch) | |
| tree | e076b4271dda6971fccf3dc8d93f7b630c8b6fdb | |
| parent | 'to_ansi_colors(' -> 'parse_format(' as it's become a lot more than just colors. (diff) | |
| signature | ||
Change !gh to be an alias of !github (github.py)
| -rw-r--r-- | modules/github.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index 6d66b187..42ffb97b 100644 --- a/modules/github.py +++ b/modules/github.py @@ -102,7 +102,8 @@ class Module(ModuleManager.BaseModule): else: event["stderr"].write("Could not find pull request") - @utils.hook("received.command.gh", min_args=1) + @utils.hook("received.command.gh", alias_of="github") + @utils.hook("received.command.github", min_args=1) def github(self, event): username, repository, number = self._parse_ref( event["target"], event["args_split"][0]) |
