So basically I am making a twitch bot that lets users vote with emotes in chat and then generates a little HTML graphics (two emotes on different sides and a third one that moves closer to the one that is currently ahead in votes), and ran into some technical issues due to my insufficient knowledge in web dev.
I have a working twitch text bot in one .js file and a HTML page with graphics which are controlled by another .js file. (1. Is this a bad setup for what I am trying to make?)
The first problem is that I am unable to run both the bot and the HTML at the same time. (2. Is it possible on Glitch at all? 3. Is it possible with my current setup and if so, how?)
When I run the bot and click live it endlessly shows me the “Starting” page.
The second problem is that I don’t how my HTML js script can grab my twitch bots voting data\variable to change the HTML accordingly.
Would love to hear solutions\things I need to learn to make this work.