diff options
author | kongr45gpen <electrovesta@gmail.com> | 2016-07-17 22:19:27 +0300 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2016-07-17 22:20:19 +0300 |
commit | 8dd785e693406693ca2a1b92efecd1d9e53e17d9 (patch) | |
tree | 8ab21b180f487ffbcbcb9b85db8119f47f432237 /local/utility.py | |
parent | dd39db4330b1dc762c3e0f68f43cfb7b65651aef (diff) | |
download | supybot_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.py | 3 |
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", |