Fix commit_comment format string and show url
This commit is contained in:
parent
b056d69345
commit
6b7705a0ea
1 changed files with 2 additions and 1 deletions
|
@ -562,7 +562,8 @@ class Module(ModuleManager.BaseModule):
|
|||
commit = self._short_hash(data["comment"]["commit_id"])
|
||||
commenter = utils.irc.bold(data["comment"]["user"]["login"])
|
||||
url = self._short_url(data["comment"]["html_url"])
|
||||
return ["[commit/%s] %s commented" % (commit, commenter, action)]
|
||||
return ["[commit/%s] %s %s a comment - %s" % (commit, commenter,
|
||||
action, url)]
|
||||
|
||||
def pull_request(self, full_name, data):
|
||||
number = utils.irc.color("#%s" % data["pull_request"]["number"],
|
||||
|
|
Loading…
Reference in a new issue