Discord rejects message content longer than 2000 characters with 50035 Invalid Form Body. This change updates Discord message chunking to: - enforce a 2000-character hard limit - split on UTF-8 character boundaries (no byte-boundary slicing) - keep newline/space-aware split behavior - add regression tests for multibyte content and chunk size guarantees Fixes #235
24 KiB
24 KiB