Hi all,
To help out a YouTube streamer I follow, I’m trying to create a bot to help him interact with his audience in chat. He’s already using Nightbot, so I thought this would be a good place to start. I’m no stranger to programming and JSON REST APIs, but I am a stranger to writing chat-bots for YouTube live streams, so I could use some pointers on where to get started.
The features I want to implement are described in detail in a YouTube comment. But in short, I want to provide the presenter with a filtered view of the chat-messages. If a chatter wants to address the presenter directly, they need to use a special tag / command.
But from what I gather from the Nightbot API docs, there is no way for an external app to retrieve messages or data on used commands. It seems that I can only set up rules on how the bot replies to certain commands. Am I looking in the wrong place? Should I be using a more native API? If I do, can I still integrate with Nightbot? I’ve seen mention of ‘custom APIs’, but I haven’t been able to find any details on that.
Thanks!