]> us-delaporte.pagekite.me Git - matrix-goal-bot.git/blobdiff - matrix_goal_bot/bot.py
Nicer output after later
[matrix-goal-bot.git] / 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