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
| 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 it contains a Bits cheer. |
fail | chat-message | The message, forwarded if it does not. |
Example
Route cheers to a variant that shows a Bits icon and the amount next to the message.