diff options
author | kongr45gpen <electrovesta@gmail.com> | 2017-05-18 03:20:12 +0300 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2017-05-18 03:20:12 +0300 |
commit | e350d277690773bf0cca5da00718a73262d69149 (patch) | |
tree | 6f0d04510cfdb7adf2a7ccc02f7ecdaf754ba59c /local/theme | |
parent | ec80993f8f076874eb346cbf7c43dbd9301ac1e1 (diff) | |
download | supybot_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.py | 7 |
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: |