jevmod on YouTube

Reads the chat on a live stream, within the quota the API gives you, which is written down rather than guessed at.

This one you run yourself today. The adapter is in the open package under the MIT licence; the hosted product covers Discord so far.

What it does, exactly.

What it reads

A live stream's chat, polled through the YouTube Data API. It reads live chat, not the comments under a finished video.

What it can do

Deletes a message, or bans an account from the live chat, through the same API.

How you talk to it

Chat commands: !jevmod status, !jevmod set and !jevmod rule, the same flat shape Twitch uses.

Worth knowing first

This is live chat and not video comments. The YouTube Data API also meters polling against a daily quota, so a long stream has a ceiling.

Run it yourself.

The same core every other surface uses. MIT, and nothing about this command is different from what the hosted product runs.

pip install jevmodYOUTUBE_CLIENT_ID=... YOUTUBE_CLIENT_SECRET=... YOUTUBE_REFRESH_TOKEN=... YOUTUBE_CHANNEL_ID=... YOUTUBE_VIDEO_ID=... TYPESAFE_API_KEY=... python -m jevmod.adapters.youtube_bot
The source

The other four.