change the way data + text is reloaded in !!update
@@ -45,8 +45,11 @@ class Owner(commands.Cog):
code = """
from util.setup import load_text, load_data
- bot.l = load_text()
- bot.d = load_data()
+ bot.l.clear()
+ bot.l.update(load_text())
+
+ bot.d.clear()
+ bot.d.update(load_data())
"""
res = await self.ipc.broadcast({"type": PacketType.EXEC, "code": code})
