From a37f9e2bf87f5d45eb28794f49f69107f0b745c4 Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 15:26:29 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sweebot.py b/sweebot.py index abc6cd9..52e4b86 100644 --- a/sweebot.py +++ b/sweebot.py @@ -36,6 +36,7 @@ class config: return [] def setchanconfig(self, chan: str, flags: list): try: + print(self.chansettings(chan)) if self.chansettings(chan) == []: print("[!!!] Channel doesn't exist in config") self.database.execute("INSERT INTO chans (chan, flags) values(?, ?);", [chan, ["+config"] + ",".join(flags)])