[Core V3] Fix reload (#927)

This commit is contained in:
Tobotimus 2017-08-16 13:46:31 +10:00 committed by palmtree5
parent 115418d323
commit 2700a005d4

View File

@ -68,7 +68,8 @@ class Core:
await ctx.send("Failed to reload package. Check your console or "
"logs for details.")
else:
await ctx.bot.save_packages_status()
curr_pkgs = await ctx.bot.db.packages()
await ctx.bot.save_packages_status(curr_pkgs)
await ctx.send("Done.")
@commands.command(name="shutdown")