Backup #16

Merged
cswimr merged 41 commits from backup into main 2024-01-31 15:58:08 -05:00
Showing only changes of commit d7b5c5f239 - Show all commits

View file

@ -52,7 +52,12 @@ class Backup(commands.Cog):
for cog in cogs: for cog in cogs:
if cog.repo_name == repo.name: if cog.repo_name == repo.name:
repo_dict["cogs"].append(cog.name) cog_dict = {
"name": cog.name,
"pinned": cog.pinned,
"commit": cog.commit
}
repo_dict["cogs"].append(cog_dict)
export_data.append(repo_dict) export_data.append(repo_dict)