From e5ae963193c7e5136d0947a2f03a0ec9c45221ba Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 19 Nov 2018 21:31:29 +0000 Subject: [PATCH] Blue-ify tag/branch for `create` event --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]