X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/8732d41ed992b047e624afb5f55a11b8703e2ad5..174617ddee807e886010cde8759706bfd8037856:/matrix_goal_bot/bot.py diff --git a/matrix_goal_bot/bot.py b/matrix_goal_bot/bot.py index 0431361..6da9351 100644 --- a/matrix_goal_bot/bot.py +++ b/matrix_goal_bot/bot.py @@ -198,9 +198,12 @@ class GoalBot(): if match.command('later'): vision_id = int(match.args()[1]) - self.data.put_off_goal(vision_id) - vision,goals = self.data.get_vision(vision_id) - results = pretty_print(vision, goals) + self.data.put_off_vision(vision_id) + # 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