From 4b53cc0dca448b613e7981c427d59cc6375167a7 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 03:31:34 +0000 Subject: [PATCH] fix configuration overwrite bug --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index caea177..98eb43b 100644 --- a/bot.py +++ b/bot.py @@ -26,7 +26,7 @@ class IRCBot(): self.sendline(f"NICK {self.nick}") self.sendline(f"USER {self.nick} 0 * :{self.config['realname']}") for channel in self.config["channels"]: - self.join_channel(channel) + self.sendline(f"JOIN {channel}") self.commands = [ ("invite", self.invite) ("kick", self.kick)