DEV Community

Cover image for Shout-out chat bot in Python [Live Coding Recap]
πŸ’Ύ bun9000
πŸ’Ύ bun9000

Posted on β€’ Edited on

2

Shout-out chat bot in Python [Live Coding Recap]

Streamed: 10/5 on Twitch

🚨 Streamer tool alert! During this live coding session, we wrote a simple shout-out bot that greets fellow Twitch team members when they enter chat.

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

⭐ Star β‡’ [Project Repository]((http://bit.ly/twitchsob)
πŸ’œ Follow β‡’ on Twitch and GitHub
πŸ”΄ Watch β‡’ Twitch VODs (replays) part 1 and part 2

Topic(s): Creating a single-purpose bot for shouting out Twitch team members in chat
Language(s): Python, Javascript
Tech, Lib(s): VSCode, Elgato Stream Deck (affiliate link), TwitchIO, websockets (SocketIO)

During the stream we...

βœ” walked through the basics of creating a bot with TwitchIO python library
βœ” commented out the overall flow/features we want (in psuedo)
βœ” answered viewer questions - lots of good questions this stream! OMG! <3
βœ” swapped out psuedo for real code, answering questions from viewers along the way
βœ” tested the bot - some typos and silly errors! 😬
βœ” GOT IT WORKING! So we worked on documentation for the README.md
βœ” pushed to repo once documentation was sorted
βœ” made plans for future features (tts shoutouts, start/stop monitoring, etc)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay