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)