colorise ref for delete
event, same as for create
event
This commit is contained in:
parent
7d49826b1a
commit
2f4475a70f
1 changed files with 2 additions and 1 deletions
|
@ -688,9 +688,10 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def delete(self, full_name, data):
|
||||
ref = data["ref"]
|
||||
ref_color = utils.irc.color(ref, COLOR_BRANCH)
|
||||
type = data["ref_type"]
|
||||
sender = utils.irc.bold(data["sender"]["login"])
|
||||
return ["%s deleted a %s: %s" % (sender, type, ref)]
|
||||
return ["%s deleted a %s: %s" % (sender, type, ref_color)]
|
||||
|
||||
def release(self, full_name, data):
|
||||
action = data["action"]
|
||||
|
|
Loading…
Reference in a new issue