]> apps.delaporte.us Git - matrix-goal-bot.git/commitdiff
fixuo
authorEdward Delaporte <edward@delaporte.us>
Mon, 30 Mar 2026 12:08:07 +0000 (07:08 -0500)
committerEdward Delaporte <edward@delaporte.us>
Mon, 30 Mar 2026 12:08:07 +0000 (07:08 -0500)
matrix_goal_bot/bot.py

index 9c0bec0e754a6965220a7e4154d6a3ef274b21ea..957051c785f516e50764754af3c7251a7fe7b455 100644 (file)
@@ -116,7 +116,6 @@ async def do_goal(match):
         results = pretty_print(vision, goals)
         return results
 
-
     if match.command('done'):
         task_id = int(match.args()[1])
         goal_id = Data().complete_task(task_id)
@@ -167,6 +166,8 @@ async def goal_bot(room, message, bot):
                 await bot.api.send_text_message(
                     room.room_id, str(line))
     except Exception as ex:
-        return ['Ye cannot get ye flask.']
-
+        line ='Ye cannot get ye flask.'
+        await bot.api.send_text_message(
+                    room.room_id, str(line))
+