github.py: use default shorteners
This commit is contained in:
parent
9e4e4925c0
commit
bf76b41485
1 changed files with 1 additions and 4 deletions
|
@ -47,10 +47,7 @@ class Module(ModuleManager.BaseModule):
|
|||
return org, repo, number
|
||||
|
||||
def _short_url(self, url):
|
||||
# TODO: find an alternative to git.io
|
||||
# see https://github.com/jesopo/bitbot/issues/338
|
||||
# ~ examknow 1/19/2022
|
||||
return url
|
||||
return self.exports.get("shorturl")(self.bot, url) or url
|
||||
|
||||
def _change_count(self, n, symbol, color):
|
||||
return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold("")
|
||||
|
|
Loading…
Reference in a new issue