Skip to main content

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​

NameTypeDescription
messagechat-messageThe chat message object from the Chat Message trigger or an upstream check node.

Outputs​

NameTypeDescription
passchat-messageThe message, forwarded if the chatter has the moderator badge.
failchat-messageThe 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.