]> us-delaporte.pagekite.me Git - matrix-goal-bot.git/commitdiff
Nicer output after later
authorEdward Delaporte <edward@delaporte.us>
Sat, 6 Jun 2026 19:25:25 +0000 (14:25 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sat, 6 Jun 2026 19:25:25 +0000 (14:25 -0500)
matrix_goal_bot/bot.py

index 6fdfbbff8268f3e51eb0d9cdd67b1f86f2bf755f..6da935199f037714063d15ade222d7652712a9cb 100644 (file)
@@ -199,8 +199,11 @@ class GoalBot():
         if match.command('later'):
             vision_id = int(match.args()[1])
             self.data.put_off_vision(vision_id)
-            vision,goals = self.data.get_vision(vision_id)
-            results = pretty_print(vision, goals)
+            # Want to see what we just cleaned up
+            goals = self.data.get_current_goals()
+            results = ['# Goals list...']
+            for goal in goals:
+                results.append(str(goal))
             return results