Reputation: 1
i am building my own twitch bot and now i got the problem of my twitch token not automatically updating and i got no clue on how i would actually do that. i got a basic ready.js running right now and everything works if i refresh it manually every 24h or something on https://twitchtokengenerator.com/
this is my ready.js: https://pastebin.com/pbFy64GC
i am really trying to figure it out and even asked my coding friends and ChatGPT for it but i only got worse answers than before. i would appreciate any help
an automatically updating twitch access token with the help of my twitch refresh token. all within my discord.js bot
Upvotes: 0
Views: 16