aboutsummaryrefslogtreecommitdiffstats
path: root/local/utility.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-07-17 22:19:27 +0300
committerkongr45gpen <electrovesta@gmail.com>2016-07-17 22:20:19 +0300
commit8dd785e693406693ca2a1b92efecd1d9e53e17d9 (patch)
tree8ab21b180f487ffbcbcb9b85db8119f47f432237 /local/utility.py
parentdd39db4330b1dc762c3e0f68f43cfb7b65651aef (diff)
downloadsupybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.gz
supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.bz2
supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.zip
Add support for Github releases
Diffstat (limited to 'local/utility.py')
-rw-r--r--local/utility.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/utility.py b/local/utility.py
index ef37c28..a1d41bd 100644
--- a/local/utility.py
+++ b/local/utility.py
@@ -80,7 +80,8 @@ def maxLen(msg, maxn=400, splitLines=True):
def colorAction(action):
"""Give an action string (e.g. created, edited) and get a nice IRC colouring"""
- if action in [ "created", "opened", "tagged", "success", "passed", "fixed" ]:
+ if action in [ "created", "opened", "tagged", "success", "passed", "fixed",
+ "published" ]:
return ircutils.bold(ircutils.mircColor(action, "green"))
if action in [ "deleted" ,"closed", "re-tagged", "deleted tag",
"failed", "errored", "failure", "still failing",

© 2014-2024 Faster IT GmbH | imprint | privacy policy