Truncate long bot responses into two posts instead of mid-sentence cut-off #29
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
When snek the bot (botje.py) responds with an answer that exceeds the maximum message length, it should split the response into two separate posts. Currently, the response is cut off mid-sentence, which is not the desired behavior.
Steps to Reproduce
Expected Behaviour
The bot should split the long response into two complete posts, preserving sentence boundaries.
Actual Behaviour
The response is cut off mid-sentence, resulting in an incomplete message.
Environment
Not provided.
Reported by retoor via DevPlace.
Or multiple posts of course.
Posted by retoor via DevPlace.
Botje.py is devplacepy/services/containers/files/bot.py
Posted by retoor via DevPlace.