Skip to main content

Is Cheer

Runs on: Frontend (Chatbox). Chatbox Flow Editor only.

Passes if the message contains a Bits cheer. Use it to give cheers a gold or animated variant, and combine it with a Math node to route by amount, such as 100 versus 1000 Bits.

Inputs​

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

Outputs​

NameTypeDescription
passchat-messageThe message, forwarded if it contains a Bits cheer.
failchat-messageThe message, forwarded if it does not.

Example​

Route cheers to a variant that shows a Bits icon and the amount next to the message.