Blue-ify tag/branch for create
event
This commit is contained in:
parent
da2c403dd7
commit
e5ae963193
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
def create(self, event, full_name, data):
|
def create(self, event, full_name, data):
|
||||||
ref = data["ref"]
|
ref = data["ref"]
|
||||||
type = data["ref_type"]
|
type = utils.irc.color(data["ref_type"], utils.consts.BLUE)
|
||||||
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