diff --git a/_data/projects.json b/_data/discord_projects.json similarity index 100% rename from _data/projects.json rename to _data/discord_projects.json diff --git a/scripts/fetch_gh_issues.py b/scripts/fetch_gh_issues.py index f0df142..805c375 100644 --- a/scripts/fetch_gh_issues.py +++ b/scripts/fetch_gh_issues.py @@ -128,7 +128,7 @@ def fetch_gh_issues(): pass # Write the filtered issue information to a JSON file - with open('./_data/projects.json', 'w') as f: + with open('./_data/discord_projects.json', 'w') as f: json.dump(issues_list, f, indent=2) # Run the fetch_gh_issues function if the script is executed directly diff --git a/scripts/projects_bot.py b/scripts/projects_bot.py index 35ec481..a919f6d 100644 --- a/scripts/projects_bot.py +++ b/scripts/projects_bot.py @@ -179,7 +179,7 @@ async def on_ready(self): async def ensure_projects(self): # Load project data from JSON file - with open('_data/projects.json', 'r') as f: + with open('_data/discord_projects.json', 'r') as f: projects_data = json.load(f) for i, data in enumerate(projects_data):