From 87ffdd7bb38288a4a50de0659c1f54ffd0465234 Mon Sep 17 00:00:00 2001 From: saces Date: Tue, 10 Mar 2026 23:24:16 +0100 Subject: [PATCH] demobot fixes --- smal/src/demobot/demobot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smal/src/demobot/demobot.py b/smal/src/demobot/demobot.py index 0f88f80..a6be4ad 100644 --- a/smal/src/demobot/demobot.py +++ b/smal/src/demobot/demobot.py @@ -20,7 +20,7 @@ class DemoBot(SMALBot): print("Got a system notification: ", ntf) def on_event(self, evt): - print("Got an event: ", e) + print("Got an event: ", evt) def on_message(self, msg): @@ -40,7 +40,7 @@ class DemoBot(SMALBot): return if msg["content"]["body"] == "!stop": - logger.info(f"stopping the bot") + logger.info("stopping the bot") self.stop() return