From 6b7705a0ea6ce96f17342e957c3464b5c2373c18 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 5 Jun 2019 11:40:23 +0100 Subject: Fix commit_comment format string and show url --- modules/github/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/github') diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 63d774a8..d76762d3 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -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"], -- cgit v1.3.1-10-gc9f91