Slash Commands
Control dashboard and OBS surfaces from chat with privileged `/lc` danmaku commands.
LAPLACE Chat supports a small set of message-triggered slash commands. These commands are picked up from incoming normal danmaku messages and let privileged users reload active surfaces or toggle the ARG glitch state.
Syntax
Send a danmaku message in the live room with this format:
/lc <command>Commands are matched with exact string checks in the current implementation.
- They are case-sensitive.
- Extra spaces are not normalized.
- They only run on
messageevents, not gifts or other event types.
Permissions
Two privilege levels exist today:
- Broadcaster: the room owner (
userType === 100) can run reload commands. - Global admin: internal admin accounts can run reload commands and the glitch toggle commands.
If a message comes from any other account, it is ignored.
Supported Commands
| Command | Scope | Access | Effect |
|---|---|---|---|
/lc reload | Dashboard + OBS | Broadcaster or global admin | Reloads any listening page that receives the command. |
/lc reload dashboard | Dashboard | Broadcaster or global admin | Reloads the dashboard page only. |
/lc reload obs | OBS | Broadcaster or global admin | Reloads the OBS page only. |
/lc glitch on | Dashboard + OBS | Global admin only | Re-enables the ARG glitch or lock state by clearing the permanent unlock flag. |
/lc glitch off | Dashboard + OBS | Global admin only | Forces the ARG content into the permanently unlocked state. |
Behavior Notes
/lc reloadis handled in both the dashboard and OBS event pipelines, so both surfaces reload when they are connected to the same room./lc reload dashboardis only handled by the dashboard pipeline./lc reload obsis only handled by the OBS pipeline.- The glitch commands are intentionally restricted to global admins and are not available to the broadcaster account by default.
Examples
/lc reload
/lc reload dashboard
/lc reload obs
/lc glitch on
/lc glitch off