From 338b25c3943e3b39ef792a0f428f2e364d01eb37 Mon Sep 17 00:00:00 2001 From: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> Date: Mon, 29 Apr 2024 07:41:59 +0100 Subject: [PATCH] Update utilitybot.py Signed-off-by: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> --- utilitybot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utilitybot.py b/utilitybot.py index 20d63a1..9956826 100644 --- a/utilitybot.py +++ b/utilitybot.py @@ -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: