diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-09-28 23:43:13 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-09-28 23:43:13 +0900 |
| commit | a22fce70db7b43aadd8baa42e87a4430a8b1e05f (patch) | |
| tree | 4cb170c50669db3ca7e046b8447294e8201146cc /website/src/docs/reference/message-format.md | |
| parent | 479000d491f8b1363a1e6a6e8f6fac85e0fc74bd (diff) | |
| download | LunaticChat-a22fce70db7b43aadd8baa42e87a4430a8b1e05f.tar.gz LunaticChat-a22fce70db7b43aadd8baa42e87a4430a8b1e05f.tar.bz2 LunaticChat-a22fce70db7b43aadd8baa42e87a4430a8b1e05f.zip | |
fix(paper): splice display names as components and share role labels
Serializing the display name into the legacy text let its color run into
everything after it, and legacy text cannot hold hex colors or hover and
click events, so names styled by other plugins came out wrong. The name is
now spliced into the parsed component instead.
{role} is resolved only when the format uses it, since the default
formats do not and it costs a member scan and a lookup per message.
/lc channel status now shows the same localized role names instead of a
second, hard-coded [OWNER] / [MOD] vocabulary that only one of the two
places translated.
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'website/src/docs/reference/message-format.md')
0 files changed, 0 insertions, 0 deletions
