diff --git a/modules/github.py b/modules/github.py index 9393cd49..4945b57c 100644 --- a/modules/github.py +++ b/modules/github.py @@ -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("")