But blue-ification on branch/tag name, not on "branch"/"tag"
This commit is contained in:
parent
e5ae963193
commit
ded49fe92a
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
url)]
|
url)]
|
||||||
|
|
||||||
def create(self, event, full_name, data):
|
def create(self, event, full_name, data):
|
||||||
ref = data["ref"]
|
ref = utils.irc.color(data["ref"], utils.consts.BLUE)
|
||||||
type = utils.irc.color(data["ref_type"], utils.consts.BLUE)
|
type = data["ref_type"]
|
||||||
sender = utils.irc.bold(data["sender"]["login"])
|
sender = utils.irc.bold(data["sender"]["login"])
|
||||||
url = CREATE_URL % (full_name, ref)
|
url = CREATE_URL % (full_name, ref)
|
||||||
return ["%s created a %s: %s - %s" % (sender, type, ref, url)]
|
return ["%s created a %s: %s - %s" % (sender, type, ref, url)]
|
||||||
|
|
Loading…
Reference in a new issue