feat(botCore|launcher): add features to the core launcher

This commit is contained in:
Romain J 2020-06-04 00:14:50 +02:00
commit 335397554f
33 changed files with 1680 additions and 174 deletions
tuxbot/cogs/network

View file

@ -60,7 +60,7 @@ class Network(commands.Cog, name="Useless"):
ip_info = obj.lookup()
try:
handler = ipinfo.getHandler(self.bot._config.ipinfo)
handler = ipinfo.getHandler(self.bot.config.ipinfo)
details = handler.getDetails(target)
api_result = True
except (RequestQuotaExceededError, HTTPError):