I’ve been reading over this stuff for the past couple of days and I have to admit I’m a bit lost so forgive me if the question has been asked before. To start with, I am working on a discord bot (written with node and discordjs) and am attempting to setup functionality where when a streamer goes live, they get a notification in a channel - now I know twitch has webhooks that help with this, but I’m not entirely sure I understand how this all works under the hood.
I’m assuming I would need a web server of some sort (or maybe a library like node-fetch?) that handles communications between twitch and discord - but I don’t know how webhooks relate to this. I’m not asking for specific hand-holding here, I just would like to know in broad strokes, if I have say, a twitch user’s client ID, how would I go from that, to them getting a live notification in a discord server? I apologize if this isn’t the best way of describing the topic, I’m just not really familiar with web-related programming so a lot of this is going over my head.