Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 802 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 802 Bytes

Youtube plays

A newbie programmer's experience with making a chat reading bot for youtube

This is my attempt at making a bot that reads the Youtube chat and converts commands into outputs via vjoy. I wrote this using Python.

I used these Twitch plays examples of code for reference:

https://www.wituz.com/make-your-own-twitch-plays-stream.html

https://www.dougdougw.com/twitch-plays-code/twitchplays-py

I also looked at Pimanrules's code for YouTube Plays Super Mario Odyssey for reference too, mosty for the system that allows commands to be queued: https://gist.github.com/jsettlem/ca3274927f872f14fc8eae821a76e0cf

I use the pytchat module to find and read the Youtube livechat, it seems to work well. I should probably look at the Youtube API for Python at some point but this is more easy.