Creating Discord Bot Thatcheckls if Channel is live. Need to get oauth and client id

I am developing a Discord bot that uses discord.js, that will have a feature to checkif a user is live, but i am unsure on how to get the bot to access the api and check if that user is live. I am new to this and don’t understand the documentation all to well.

Basically, im trying to get a client id and all the auth stuff that i need but i have no clue what im doing.

Can someone give a slightly simpler run through on how to create said auth stuff, and how i would get the bot to check if a user is live.

Hopefully this is ok

You can either poll the streams endpoint

or use webhooks

https://dev.twitch.tv/docs/api/webhooks-guide

Generally for these endpoints you only need a “server to server” access token, also called an “app access token”

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