mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[V3 Downloader] Make shared libraries work and make repo handling smarter (#1313)
* Make stuff stateless * Update shared lib stuff
This commit is contained in:
@@ -15,7 +15,7 @@ class InstalledCog(commands.Converter):
|
||||
if downloader is None:
|
||||
raise commands.CommandError("Downloader not loaded.")
|
||||
|
||||
cog = discord.utils.get(downloader.installed_cogs, name=arg)
|
||||
cog = discord.utils.get(await downloader.installed_cogs(), name=arg)
|
||||
if cog is None:
|
||||
raise commands.BadArgument(
|
||||
"That cog is not installed"
|
||||
|
||||
Reference in New Issue
Block a user