mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[Core] Added relative_path parameter to json helpers
Since these helpers will mostly be used by packages, it's important to make sure that the data they create stays contained inside them. This also brings the additional benefit of being able to manipulate data inside a package without knowing the name of the package's folder itself
This commit is contained in:
@@ -36,7 +36,7 @@ def init_events(bot, cli_flags):
|
||||
failed.append(package)
|
||||
|
||||
if failed:
|
||||
bot.save_packages_status()
|
||||
await bot.save_packages_status()
|
||||
if packages:
|
||||
print("Loaded packages: " + ", ".join(packages))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user