From 78990d66b58d4f1551e24e9f95b936dba82e2d6e Mon Sep 17 00:00:00 2001 From: reverse Date: Sat, 20 Jun 2026 09:13:12 +0000 Subject: [PATCH] Plugins: note message text is formatting-stripped, raw available --- docs/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 1633966..72349bb 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -82,8 +82,8 @@ instead. See **[Compiled plugins](https://orbit.tchatou.fr/docs/compiled-plugins | `orbit.storage.get(key, def)/set(key, val)` | namespaced persistence | | `orbit.addUi(slot, render)` | add UI to a slot (returns a remover) | | `orbit.addSettingsSection({label, icon?, render})` | add a whole Settings section | -| `orbit.addMessageDecorator(m => …)` | inline UI after every message's text; `m` = `{id, nick, text, kind, ts, mine}` | -| `orbit.addMessageAction(m => …)` | a button in every message's hover action toolbar (next to reply/react) | +| `orbit.addMessageDecorator(m => …)` | inline UI after every message's text; `m` = `{id, nick, text, raw, kind, ts, mine}` (`text` is formatting-stripped, `raw` keeps mIRC codes) | +| `orbit.addMessageAction(m => …)` | a button in every message's hover action toolbar (next to reply/react); same `m` | | `orbit.h / orbit.html` | render helpers | | `log(…)` | namespaced console logger |