Step 1: make a basic chat bot that can recognize and respond to commands and parse chat api responses
Step 2: create a basic backend (database, looking at you)
Step 3: web UI (because everyone loves a web dashboard)
Step 4: test, debug, improve, polish (wash, rinse, repeat until you’re satisfied)
That sounds much easier than it really is. You will need a solid plan with a good road map of things you want to accomplish. You will need to know html/css/JavaScript for the web UI, be familiar with how irc chat (twitch chat is a customized implementation of irc) and websockets work. And you’ll need a good server side scripting language under your belt to do a lot of the heavy lifting.
Also, here’s the link for the chat api docs: https://dev.twitch.tv/docs/irc