From d859474b128b8e58daf196e0e2bf80d47923cdb0 Mon Sep 17 00:00:00 2001 From: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> Date: Sun, 14 Apr 2024 10:51:26 +0100 Subject: [PATCH] Update utilitybot.py Signed-off-by: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> --- utilitybot.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/utilitybot.py b/utilitybot.py index 46edbfc..3091761 100644 --- a/utilitybot.py +++ b/utilitybot.py @@ -23,12 +23,12 @@ bot = sechat.Bot() bot.login(sys.argv[1], sys.argv[2]) r = bot.joinRoom(1) - t = bot.joinRoom(147676) - priv = bot.joinRoom(147571) - sb2 = bot.joinRoom(147516) + #t = bot.joinRoom(147676) + #priv = bot.joinRoom(147571) + #sb2 = bot.joinRoom(147516) baso = bot.joinRoom(146039) - den = bot.joinRoom(148152) - t4d = bot.joinRoom(148981) + #den = bot.joinRoom(148152) + #t4d = bot.joinRoom(148981) def ai(text): global c, h, last_msg # skipcq: PYL-W0602 @@ -313,16 +313,12 @@ def msg(event): if main_: - for room in [r, t, priv, sb2, baso, den, t4d]: + for room in [r, baso]: onn(room) try: counter = 0 print("Startup Successful.") - t.send("Bot has started.") - priv.send("Bot has started.") - sb2.send("Bot has started. No freezing!") - den.send("Bot has started. Hello everyone!") while True: print(f"Bot is running. Seconds since start: {counter}") # st.write(f"Bot is running. Seconds since start: {counter}")