Skip to content

Commit

Permalink
Update utilitybot.py
Browse files Browse the repository at this point in the history
Signed-off-by: Little Monkey <[email protected]>
  • Loading branch information
PlaceReporter99 authored Apr 14, 2024
1 parent eb2818f commit d859474
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions utilitybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}")
Expand Down

0 comments on commit d859474

Please sign in to comment.