forked from cswimr/SeaCogs
feat(backup): exports will now check if a cog is loaded
This commit is contained in:
parent
f57b2c5196
commit
4e70145d38
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class Backup(commands.Cog):
|
||||||
if cog.repo_name == repo.name:
|
if cog.repo_name == repo.name:
|
||||||
cog_dict = {
|
cog_dict = {
|
||||||
"name": cog.name,
|
"name": cog.name,
|
||||||
|
"loaded": ctx.bot.get_cog(cog.name) is not None,
|
||||||
"pinned": cog.pinned,
|
"pinned": cog.pinned,
|
||||||
"commit": cog.commit
|
"commit": cog.commit
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue