aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-19 21:31:29 +0000
committerGravatar jesopo2018-11-19 21:31:29 +0000
commite5ae963193c7e5136d0947a2f03a0ec9c45221ba (patch)
treed760fa916a8b915577d13a010b38840b5de6e41a /modules/github.py
parentDon't bold `action_desc` for pull_request event action (github.py) (diff)
signature
Blue-ify tag/branch for `create` event
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 43e55958..5078939e 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -213,7 +213,7 @@ class Module(ModuleManager.BaseModule):
def create(self, event, full_name, data):
ref = data["ref"]
- type = data["ref_type"]
+ type = utils.irc.color(data["ref_type"], utils.consts.BLUE)
sender = utils.irc.bold(data["sender"]["login"])
url = CREATE_URL % (full_name, ref)
return ["%s created a %s: %s - %s" % (sender, type, ref, url)]