I am looking to create a bot that can write commands in chat such as ‘/vip [username]’. I have realized only the broadcaster can run certain commands such as /mod and /vip. This means(using tmi.js) I will need an oauth token generated for each user.
I have tried this several times using an access token of the user and an app access token(for obvious reasons this didn’t work). Looking at the tmijs oauth token generator, they are using implicit grant flow to generate a token to use. Is this token output any different than the access token from the authorization grant flow that I have used?
Here are the scopes I am using: user:read:email moderation:read channel:moderate channel:manage:redemptions channel:read:redemptions