Monitoring Chat as a Broadcaster

If I simply want to monitor Twitch chat and occasionally issue broadcaster allowable only commands, do I simply need to get the Broadcaster’s OAuth token, register my app with the broadcaster, and then use the normal method of reading of chat using the following?

const client = new tmi.Client({
options: { debug: true },
identity: {
username: <broadcaster’s username>,
password: <broadcaster’s OAUTH_TOKEN>
},
channels: [ broadcaster’s CHANNEL_NAME ]
});

Thank you

Yes

Thank you. I was overcomplicating things with my initial approach when this was all that is needed. I will take this simpler approach.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.