Skip to content

Commit 6b00612

Browse files
committed
Update database after resetting/purging all plugins.
1 parent 7ed1fcb commit 6b00612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cogs/plugins.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ async def plugins_reset(self, ctx):
539539
except Exception:
540540
logger.error("Failed to unload plugin: %s.", ext)
541541
self.bot.config["plugins"].clear()
542+
await self.bot.config.update()
542543

543544
cache_path = Path(__file__).absolute().parent.parent / "temp" / "plugins-cache"
544545
if cache_path.exists():

0 commit comments

Comments
 (0)