Is Moderator
Runs on: Frontend (Chatbox) — only available in the Chatbox Flow Editor; runs inside the OBS browser source.
The Is Moderator check reads the badges array on the incoming chat message and checks whether any badge has a set_id of "moderator". If the chatter is a mod, the message is forwarded to the Pass output; otherwise it goes to Fail.
Use this node to give moderator messages a distinct visual treatment — a different background color, a shield icon, or a dedicated layout variant — so mods are immediately recognizable in your chatbox overlay.
Inputs
| Name | Type | Description |
|---|---|---|
message | chat-message | The chat message object from the Chat Message trigger or an upstream check node. |
Outputs
| Name | Type | Description |
|---|---|---|
pass | chat-message | The message, forwarded if the chatter has the moderator badge. |
fail | chat-message | The message, forwarded if the chatter does not have the moderator badge. |
Example
Route moderator messages to a "mod" variant that adds a green shield next to the username. Connect the Fail output to your default variant so regular chatters still appear normally.