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 29, 2024
1 parent 0ef7a93 commit 338b25c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utilitybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,10 @@ def msg(event):
bot = sechat.Bot()
bot.login(os.environ["BOT_EMAIL"], os.environ["BOT_PASSWORD"])
def repeat():
import datetime
[r, baso, ubot] = map(bot.joinRoom, [1, 146039, 152883])
for room in [r, baso, ubot]:
onn(room)
ubot.send(f"Wake up, it's {str(datetime.datetime.now())}")
ubot.send(f"Wake up, it's antifreeze time!")
repeat()
app.run(host='0.0.0.0', port=5000)
try:
Expand Down

0 comments on commit 338b25c

Please sign in to comment.