From 3ffb2b301dac29cb1adff6798e6b2b0e0dd56344 Mon Sep 17 00:00:00 2001 From: Context 77 <126421199+ctx77@users.noreply.github.com> Date: Sun, 2 Mar 2025 20:52:12 +0100 Subject: [PATCH] wait a bit longer for user to be fully logged in --- FaustBot/Communication/Connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FaustBot/Communication/Connection.py b/FaustBot/Communication/Connection.py index 2a3ebee..f414d12 100644 --- a/FaustBot/Communication/Connection.py +++ b/FaustBot/Communication/Connection.py @@ -156,8 +156,8 @@ class Connection(object): "NICKSERV", f"identify {self.details.get_nick()} {self.details.get_pwd()} ", ) - # Sleep 5 Seconds to ensure that the Bot is fully logged in. - time.sleep(5.123) + # Sleep 15 Seconds to ensure that the Bot is fully logged in. + time.sleep(15.123) self.irc.send(f"JOIN {self.details.get_channel()}\r\n".encode()) self.irc.send(f"WHO {self.details.get_channel()}\r\n".encode()) self.irc.send(f"MODE {self.details.get_nick()} -R\r\n".encode())