[V3] Remove old usage of type tuples with config (#1518)

This commit is contained in:
Michael H
2018-04-16 21:41:13 -04:00
committed by Will
parent d6ef812704
commit f8e7497695
3 changed files with 4 additions and 7 deletions

View File

@@ -173,7 +173,7 @@ class SpecResolver(object):
try:
config = getattr(bot.get_cog(cogname), attr)
except (TypeError, AttributeError):
config = Config.get_conf(cogname, _id)
config = Config.get_conf(None, _id, cog_name=cogname)
try:
items = converter(dc.json_load(filepath))