From 72b7bc162741df1d7583a81ca315afc162774da6 Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 15:46:27 -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 29d28b7..733ddc5 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()