Yeah, you are right, I’ve been following twitch chat bot tutorial and I’ve used this to get my oauth token:
OAUTH_TOKEN
The token to authenticate your chatbot with Twitch's servers. Generate this with https://twitchapps.com/tmi/ (a Twitch community-driven wrapper around the Twitch API), while logged in to your chatbot account. The token will be an alphanumeric string.
So currently, I just got a string which I pasted into the code as constant.
But when I followed the docs, there is a lot of information about authentication and there is the thing about how tokens should be refreshed etc., I don’t really do anything with authentication in code.
So let’s say that I want to request all banned and timed-out users for a channel.
Did I get all possible scopes available to my account? For example moderation:read·?