I have a feeling that I might just have to use a real account dedicated for the bot. Thank you for all the help.
After doing this again, results:
Link:
http://localhost/?code={code}&scope=chat%3Aread+chat%3Aedit+channel_editor
Code (config):
const config = {
options: {
debug: true
},
connection: {
cluster: "aws",
reconnect: true
},
identity: {
username: process.env.CLIENT_ID,
password: "oauth:"+process.env.ACCESS_TOKEN
},
channels: [channel]
}
Output:
App Started
[16:50] info: Connecting to irc-ws.chat.twitch.tv on port 443..
[16:50] info: Sending authentication to server..
[16:50] error: Login authentication failed
[Done] exited with code=0 in 1.16 seconds