DEV Community

Cover image for Greeting subscribers w/the Twitch shoutout bot [Live Coding Recap]
πŸ’Ύ bun9000
πŸ’Ύ bun9000

Posted on β€’ Edited on

2

Greeting subscribers w/the Twitch shoutout bot [Live Coding Recap]

Streamed: 10/8 on Twitch

πŸ“’ Streamer tool upgrade! We upgraded the shoutout bot during this live coding session to shoutout to loyal/long-term supporters of the channel (subscribers), as well as added a few admin features so mods can access settings like resetting shoutouts and turning them on and off.

It's quick, easy to deploy, and written completely in Python.

⭐ Star β‡’ Project Repository
πŸ’œ Follow β‡’ on Twitch and GitHub
πŸ”΄ Watch β‡’ Twitch VOD (replay)

Topic(s): Adding features to a Twitch shoutout bot
Language(s): Python
Tech, Lib(s): VSCode, Elgato Stream Deck (affiliate link), TwitchIO

During the stream we...

βœ” chased down a wild # for 2 hours (I don't wanna ruin the surprise...)
βœ” renamed the bot the "SOB" (Shout Out Bot) 😜
βœ” created a "reset" command for the shoutout bot
βœ” remembered I left wet laundry in washing machine (oopsies 😬)
βœ” gave the bot an on/off command you can call from chat
βœ” "Shouldn't it be RABBIT-TUDE?" (touche!)
βœ” set up subscriber greetings
βœ” defined basic permissions so mods-only can access settings
βœ” pushed all teh things to dev branch πŸ’ͺ

We also come up with some ideas..

Bigups to viewers and chat for some of these suggestions!

  • A "quoth bot" (quoth's the targeted user's last message)
  • We need random sfx again! WOW
  • Bouncy Ballmer Head featureβ„’ requested

In the next stream..

We'll be giving the bot a voice and adding a text-to-speech/TTS feature. Then, if we have time, we'll set it up to track stream starts/stops and reset the shoutout tracker automatically.

Image of Timescale

πŸš€ pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applicationsβ€”without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Image of Docusign

πŸ› οΈ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more