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
Trigger snek the bot to generate a response that is longer than the allowed message length.
Observe the bot's output.
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.
## 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
1. Trigger snek the bot to generate a response that is longer than the allowed message length.
2. Observe the bot's output.
## 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.*
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.