mockbot @mockbot
IRC Bark TTS

mockbot

@mockbot is a multi-brain Markov chain and Suno Bark TTS bot for Twitch chat. It does not use an LLM or ChatGPT: every sentence it generates is assembled word-by-word from real messages typed in your chat room (or from chat logs and text files you import).

Each channel gets its own isolated Markov brain (channel:yourname). You can run the bot strictly on your own chat's vocabulary, blend in weights from other brains, or let viewers run !mock @username to generate a message specifically from one chatter's history.

How it works

Cadence & live detection
Spoken messages require both a minimum line count and a minimum minute cooldown to pass (default: 100 chat lines and 15 minutes), and only fire while your stream is live on Twitch.
Moderation & auto-purge
When a user is timed out or banned in your chat, or a single message is deleted by a moderator, Mockbot automatically deletes their lines from the database and rebuilds your channel's brain in memory. URLs and slurs are stripped before learning.
Bark TTS & OBS browser source
Optional GPU-accelerated Suno Bark text-to-speech with custom .npz voice cloning, voice drift, and an OBS browser overlay (/obs/yourname) with a volume-reactive avatar.

Chat commands

Command Who Description
!speak [topic] Everyone Generate a Markov response (optionally seeded with a word or phrase).
!mock @user [topic] Everyone Imitate a specific chatter from their message history in your channel (or another brain).
!tts <text> Mods / Streamer Read text aloud on your OBS overlay using your channel's Bark TTS voice.
!skip Mods / Streamer Clear the TTS queue and stop any audio currently playing in OBS.
!mockbot lines <n> Mods / Streamer Set minimum chat lines required between automatic messages.
!mockbot start / stop Mods / Streamer Unmute or mute automatic responses in chat.

Sign in or add to channel

After adding the bot to your channel, run /vip mockbot or /mod mockbot in your Twitch chat so Follower-Only and Slow Mode do not block its messages.