Skip to content

Commit

Permalink
fix to much data
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr88 committed Dec 30, 2024
1 parent cb24db0 commit ab3cb0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/intervalsicu.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@ async def activities(self, message: Message):
data.append([key, value])
activities_str += self.generate_markdown_table(["Field", "Value"], data)
activities_str += "--------------------------------\n"
# limit to 14000 characters
activities_str = activities_str[:14000]
self.driver.reply_to(message, activities_str)
else:
self.driver.reply_to(message, "No activities found try .intervals refresh data")
Expand Down

0 comments on commit ab3cb0e

Please sign in to comment.