Stream Kit Docs
Plugins

Twitch

Connect Twitch chat and EventSub — triggers and channel actions.

Twitch

The Twitch plugin connects your Twitch account for chat, whispers, channel point redemptions, EventSub events, and moderation actions.

Setup

  1. Create a Twitch application at Twitch Developer Console (or use an existing one).
  2. Add these OAuth Redirect URLs on the application (exact match required):
    • http://localhost:9001 — main Twitch account
    • http://localhost:9003 — bot account (optional, for Bot plugin)
  3. Copy the Client ID into plugins/twitch/src/config.ts (see config.example.ts).
  4. Open Plugins → Twitch in Stream Kit.
  5. Click Connect your Twitch account to start OAuth.
  6. Authorize Stream Kit in the browser window.
  7. Confirm status shows Connected.

OAuth runs in the desktop app (Tauri). Stream Kit starts a temporary local server on the redirect port while you authorize. If the browser shows redirect_mismatch or ERR_CONNECTION_REFUSED, verify the redirect URLs above and connect from the running app — not from a bookmarked OAuth URL.

EventSub subscriptions are created automatically for supported events (follows, subs, raids, polls, predictions, etc.).

Requirements

  • Twitch account with appropriate channel permissions
  • Internet access for OAuth and EventSub

The plugin reports configured when OAuth completes and the connection is healthy.

Features

AreaCapabilities
ChatMessages, cheers, whispers, hype chat, redemptions
EngagementFollows, subs, gifts, raids, joins/parts
ChannelStream online/offline, channel update, goals, charity, ad breaks, shoutouts received
ModerationBan, timeout, shield mode, warn, delete message
InteractivePolls, predictions, hype train
ActionsSend message, announcement, shoutout, clips, commercials, raids, VIP/mod, get user info

Twitch chat messages are limited to 500 characters. Stream Kit splits longer outgoing messages (bot Helix API and IRC) into multiple chat lines so they still send instead of failing with HTTP 422.

Triggers and handlers

Example trigger IDs

TriggerID
Chat messagetwitch:twitch:chat:chat-message
New followertwitch:twitch:channel:new-follower
Channel point redemption (chat)twitch:twitch:chat:channel-point-redemption
Reward redeemed (EventSub)twitch:twitch:channel-points:reward-redeemed

Use the chat redemption trigger for IRC-style redemption messages, and Reward Redeemed for the EventSub channel-points event (richer reward metadata).

Bot integration

Enable the Bot plugin for commands, timers, and moderation on Twitch chat.

The Bot plugin can connect a separate Twitch bot account from Bot → Overview. That account sends messages via the Twitch chat API with the bot identity. Your main Twitch connection on Plugins → Twitch remains responsible for chat listening, EventSub, and moderation.

On this page