feat(backup): exports will now check if a cog is loaded

This commit is contained in:
Seaswimmer 2024-01-31 15:12:34 -05:00
parent f57b2c5196
commit 4e70145d38
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -59,6 +59,7 @@ class Backup(commands.Cog):
if cog.repo_name == repo.name:
cog_dict = {
"name": cog.name,
"loaded": ctx.bot.get_cog(cog.name) is not None,
"pinned": cog.pinned,
"commit": cog.commit
}