Has GIF
Runs on: Frontend (Chatbox) — only available in the Chatbox Flow Editor; runs inside the OBS browser source.
The Has GIF check inspects the incoming chat message's fragments and passes when one of them is a Twitch GIF. Viewers can attach a GIF to a chat message on Twitch; the GIF arrives alongside any text the message contains. If the message contains a GIF it is forwarded to Pass; otherwise it goes to Fail.
Use this node to route GIF messages to a dedicated variant whose layout includes the GIF block — the block that actually renders the GIF, with a configurable height and grid placement. Chatbox presets ship with this wiring out of the box: a "GIF Message" variant fed by a Has GIF check, while GIF-less messages continue to the normal chat variant. You can also add one from the variant picker's GIF Message option, which scaffolds the same layout and routing.
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 GIF. |
fail | chat-message | The message, forwarded if it does not contain a GIF. |
Example
Route GIF messages to a "GIF Message" variant that shows the sender's name and text on one line with the GIF rendered underneath at 160px tall. Messages without a GIF continue to the default layout via Fail.