Skip to content

twitch_connection()

Respond when the Flow Twitch integration connects or disconnects.

Updated View as Markdown
For humans
Flow functionFlow Pro scriptingBase functions

This article covers the following platforms

twitch_connection reports the connection state of the Twitch integration. It only runs if the user has enabled the Twitch integration in the Flow settings.

twitch_connection((state) => {
    if(state) {
        // do something when Twitch chat connects
    } else {
        // do something when Twitch chat disconnects
    }
});

state: Boolean state of the Twitch connection.

APIs

The following APIs are also available:

Navigation

Type to search…

↑↓ navigate↵ selectEsc close