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.
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
- Broadcaster: the room owner (
userType === 100) can run reload commands. - Global admin: internal admin accounts can run reload 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. |
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.
Examples
/lc reload
/lc reload dashboard
/lc reload obs