diff --git a/dudlebot.py b/dudlebot.py index 082a8a7..113f7d3 100644 --- a/dudlebot.py +++ b/dudlebot.py @@ -140,7 +140,7 @@ class DudleBot: formatted_plan += f"{str(response)} " formatted_plan += entry.name if len(entry.name) < self.LINE_LIMIT \ - else entry[:self.LINE_LIMIT - 2] + "…" + else entry.name[:self.LINE_LIMIT - 2] + "…" formatted_plan += "\n" formatted_plan += "```"