mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[V3] Remove old usage of type tuples with config (#1518)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user