Skip to content

fix: preserve Unicode in profile display chunks - #118

Open
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/preserve-profile-display-unicode
Open

fix: preserve Unicode in profile display chunks#118
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/preserve-profile-display-unicode

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reuse the Unicode-safe Discord splitter for !profile and !guild output
  • add regression coverage for astral characters at the 2,000-character chunk boundary
  • document the user-visible fix

Verification

  • npm run build && node --test tests/profileDisplay.test.mjs — passed: 1 regression test
  • npm test — passed: TypeScript build and all 110 tests
  • git diff --check upstream/main...HEAD — passed

Risk

  • Low: the two display commands now use the existing, tested message splitter; short output remains a single reply.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant