Is Moderator
Runs on: Frontend (Chatbox). Chatbox Flow Editor only.
Passes if the chatter has the moderator badge (set_id "moderator" in the message's badges array). Use it to give mods a distinct look.
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 with a green shield next to the username.