Twitch Module
The plugin's Twitch module is controlled with the /twitch command followed by one of the next arguments:
Link
Generates a Twitch Device Code and starts the linking process.
Example:
Unlink
Unlinks all Twitch accounts and removes the stored credentials. You may pass an extra argument with a linked user name to unlink only that account.
To temporally disconnect from Twitch's API, use the stop command.
Example:
Accounts
Displays a menu showing all connected accounts, with buttons to unlink accounts and stop/start the Twitch client.
Example:
Create Reward
Creates a new Channel Point Reward in your Twitch channel. Only rewards created by this command can be managed by the plugin, due to API Limitations.
If the command ran successfully, on the streamer's Twitch Dashboard a new Channel Point Reward will appear. Once created by the plugin it can be renamed and modified.
Example:
Start
Starts the Twitch Client and connects automatically to the previous accounts using the saved credentials. If there are no saved accounts you will need to link an account.
Example:
Stop
Stops the Twitch Client. This will disconnect you from the Twitch API and stop any incoming events. Your current account credentials will be saved and used the next time the Twitch Client starts.
Example:
Status
Displays an information message containing connection status, plugin version, accounts and live channels.
Example:
Reload
Restarts the plugin and reloads the configuration files.
Example:
Test
Simulates a fake event. Useful for testing your configuration.
Channel Points
Sends a custom Channel Points Redemption event. You can input the chatter and streamer user names, as well as adding a user input message.
Syntax: /twitch test channelpoints <chatter username> <streamer username> <reward name> [user input]
If you have a reward name that contains whitespaces you should enclose it with double quotes
Example:
/twitch test channelpoints exampleViewer exampleStreamer "Another Test Reward" "Message with whitespaces"
Cheer
Sends a custom Cheer event. You can set a custom amount of Bits, as well as the cheerer and the streamer username.
Syntax: /twitch test cheer <chatter username> <streamer username> <bits>
Example:
Follow
Sends a custom Follow event.
Syntax: /twitch test follow <chatter username> <streamer username>
Example:
Raid
Sends a custom Raid Event with the specified amount of viewers.
Syntax: /twitch test raid <raider username> <streamer username> <viewer count>
Example:
Subscription
Sends a custom subscription event with the specified tier and months.
Syntax: /twitch test sub <viewer username> <streamer username> <subscription tier> <months>
Example:
Subscription Gift
Sends a test subscription gift event.
Syntax: /twitch test subgift <viewer username> <streamer username> <subscription tier> <amount>
Example: