From 68c9441911371dd554f40efbcb2032d5ddc0887c Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 15:28:17 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 52e4b86..91c556c 100644 --- a/sweebot.py +++ b/sweebot.py @@ -39,7 +39,7 @@ class config: 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)]) + self.database.execute("INSERT INTO chans (chan, flags) values(?, ?);", [chan, "+config" + ",".join(flags)]) else: self.database.execute("UPDATE chans SET FLAGS = ? WHERE chan = ?", [",".join(flags),chan]) self.conn.commit()