aboutsummaryrefslogtreecommitdiffstats
path: root/local/theme
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2017-05-18 03:20:12 +0300
committerkongr45gpen <electrovesta@gmail.com>2017-05-18 03:20:12 +0300
commite350d277690773bf0cca5da00718a73262d69149 (patch)
tree6f0d04510cfdb7adf2a7ccc02f7ecdaf754ba59c /local/theme
parentec80993f8f076874eb346cbf7c43dbd9301ac1e1 (diff)
downloadsupybot_github-e350d277690773bf0cca5da00718a73262d69149.tar.gz
supybot_github-e350d277690773bf0cca5da00718a73262d69149.tar.bz2
supybot_github-e350d277690773bf0cca5da00718a73262d69149.zip
Add support for specifying the maximum commit count
Diffstat (limited to 'local/theme')
-rw-r--r--local/theme/DefaultTheme.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/local/theme/DefaultTheme.py b/local/theme/DefaultTheme.py
index 4215f51..d9ee11a 100644
--- a/local/theme/DefaultTheme.py
+++ b/local/theme/DefaultTheme.py
@@ -197,6 +197,13 @@ class DefaultTheme(Theme):
ircutils.mircColor(message, "light blue")
))
+ def more(self, branch, number, type):
+ self.msgs.append("%s: ...and %d more %s" % (
+ self.repo(branch),
+ number,
+ type
+ ))
+
def unknown(self, eventType, action, actor, url):
if action is not None:
if eventType is None:

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