MODULE 04 · INCLUDED IN FOUNDATIONS

Chat in: connect to Kick (and Twitch)

What this module is

This is where your character first hears the room. You connect to Kick's official API, add Twitch in parallel, and build the selector that decides what to answer and what to ignore.

What you'll build

  • A webhook receiver that turns Kick chat events into a message queue
  • Twitch EventSub in parallel, normalized to the same message shape
  • A selector with five priorities and four sanity rules

Lessons

  1. 01How Kick delivers chat
  2. 02The receiver
  3. 03Twitch (and YouTube) in parallel
  4. 04The selector: what to answer, what to ignore

Checkpoint

Type in your own Kick chat and see the message appear in your Python console within a second.

Kick's OAuth 2.1 + PKCE flow and event subscriptions, step by step

Locked

Included in Foundations

Unlock with Foundations — $847

The receiver code (src/chat.py) with signature verification

Locked

Included in Foundations

Unlock with Foundations — $847

Twitch EventSub setup

Locked

Included in Foundations

Unlock with Foundations — $847

The selector rules and code

Locked

Included in Foundations

Unlock with Foundations — $847