fix entry -> entry.name
This commit is contained in:
parent
79f014ab69
commit
fd19140379
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class DudleBot:
|
||||||
formatted_plan += f"{str(response)} "
|
formatted_plan += f"{str(response)} "
|
||||||
|
|
||||||
formatted_plan += entry.name if len(entry.name) < self.LINE_LIMIT \
|
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 += "\n"
|
||||||
|
|
||||||
formatted_plan += "```"
|
formatted_plan += "```"
|
||||||
|
|
Loading…
Reference in a new issue