feat(commands): unify chat commands (#275)

* Chat commands: registry, access groups, Carbon

* Chat commands: clear native commands on disable

* fix(commands): align command surface typing

* docs(changelog): note commands registry (PR #275)

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
ShadowandPeter Steinberger authored and GitHub committed 2026-01-06 20:17:56 +00:00
1 parent 1bf44bf30c
commit 9b22e1f6e9
40 files changed
+2357 -1459

No files matched your search

+7
View File
@@ -32,4 +32,11 @@ describe("control command parsing", () => {
expect(hasControlCommand("/status")).toBe(true);
expect(hasControlCommand("status")).toBe(false);
});
it("requires commands to be the full message", () => {
expect(hasControlCommand("hello /status")).toBe(false);
expect(hasControlCommand("/status please")).toBe(false);
expect(hasControlCommand("prefix /send on")).toBe(false);
expect(hasControlCommand("/send on")).toBe(true);
});
});