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
|
return org, repo, number
|
||||||
|
|
||||||
def _short_url(self, url):
|
def _short_url(self, url):
|
||||||
# TODO: find an alternative to git.io
|
return self.exports.get("shorturl")(self.bot, url) or url
|
||||||
# see https://github.com/jesopo/bitbot/issues/338
|
|
||||||
# ~ examknow 1/19/2022
|
|
||||||
return url
|
|
||||||
|
|
||||||
def _change_count(self, n, symbol, color):
|
def _change_count(self, n, symbol, color):
|
||||||
return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold("")
|
return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold("")
|
||||||
|
|
Loading…
Reference in a new issue