fix(backup): awaited a coroutine
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s

This commit is contained in:
Seaswimmer 2024-01-31 14:38:26 -05:00
parent 760059f8f0
commit 8327270e61
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -147,7 +147,7 @@ class Backup(commands.Cog):
cog_modules = []
for cog in cogs:
try:
cog_module = InstalledCog.convert(ctx, cog['name'])
cog_module = await InstalledCog.convert(ctx, cog['name'])
except commands.BadArgument:
uninstall_e.append(f"Failed to uninstall {cog['name']}")
continue