udoprog / OxidizeBot

High performance Twitch bot in Rust
https://setbac.tv
Apache License 2.0
153 stars 22 forks source link

No longer working after changing Twitch Password #172

Open JustVaelyn opened 1 year ago

JustVaelyn commented 1 year ago

Had to change my password for Twitch, since then my bot is no longer working. It doesn't reply back with feedback after a song request and won't add anything to queue. I feel like I need to reconnect the things, Nightbot, Twitch, etc, but I feel I reconnected everything but it still won't work, I don't know what I'm missing and which setting to go to. Need some help troubleshooting.

Unrelated issue, for a while now, mods are no longer allowed to edit the queue, even though in the settings, they have permission.

Would love some help on both fronts. (also do you have a discord server I could go to?)

udoprog commented 1 year ago

All twitch sessions are rightfully invalidated when you change your password.

After you've reconnected everything, make sure to restart the bot. It should work. If not, check out the log (right click the tray icon).

JustVaelyn commented 1 year ago

Here is a log from today after starting everything up fresh and !sr something in my chat which gave no response. There still seems to be a connection missing but the problem is I don't know WHICH one to reconnect or how. I'm also using the beta version since yesterday, saw there was an upgrade and DLed it. Should I use the non beta one instead?

In the log it says tag is 'Streamer'. shouldn't that say my twitch name, Vaelyn?

I'm not a coder, I don't know how to read this and conclude what's wrong with it from this :P I have other logs if you want to see.

2023-08-04T00:24:49.427854Z INFO setup{id="spotify"}:build: bot_oauth2: Remote connection outdated, forcing refresh 2023-08-04T10:26:52.424330Z INFO bot_db: Using database: C:\Users\Colette\AppData\Roaming\OxidizeBot\oxidize.sql 2023-08-04T10:26:52.465062Z INFO oxidize::cli: Starting Oxidize Bot Version 1.2.1-beta.3 2023-08-04T10:26:52.482894Z INFO oxidize::cli: Listening on: http://localhost:12345 2023-08-04T10:26:52.497273Z INFO run: oxidize::setbac: Received new streamer token 2023-08-04T10:26:52.756245Z WARN twitch_and_user{user_agent="OxidizeBot/1.2.1-beta.3 (git 8ac9448; +https://setbac.tv)" id="twitch-streamer" tag=Streamer}: bot_api::provider: failed to get twitch user information 2023-08-04T10:26:52.756267Z WARN twitch_and_user{user_agent="OxidizeBot/1.2.1-beta.3 (git 8ac9448; +https://setbac.tv)" id="twitch-streamer" tag=Streamer}: bot_api::provider: Caused by: Bad response: GET: https://api.twitch.tv/helix/users: 401 Unauthorized: {"error":"Unauthorized","status":401,"message":"Invalid OAuth token"} 2023-08-04T10:26:53.176984Z INFO run: oxidize::setbac: Received new streamer token 2023-08-04T10:26:53.286108Z INFO setup{id="spotify"}:build: bot_oauth2: Remote connection outdated, forcing refresh 2023-08-04T10:26:53.298564Z INFO setup{id="twitch-streamer"}:build: bot_oauth2: Remote connection outdated, forcing refresh 2023-08-04T10:26:53.377934Z WARN twitch_and_user{user_agent="OxidizeBot/1.2.1-beta.3 (git 8ac9448; +https://setbac.tv)" id="twitch-streamer" tag=Streamer}: bot_api::provider: failed to get twitch user information 2023-08-04T10:26:53.377949Z WARN twitch_and_user{user_agent="OxidizeBot/1.2.1-beta.3 (git 8ac9448; +https://setbac.tv)" id="twitch-streamer" tag=Streamer}: bot_api::provider: Caused by: Bad response: GET: https://api.twitch.tv/helix/users: 401 Unauthorized: {"error":"Unauthorized","status":401,"message":"Invalid OAuth token"} 2023-08-04T10:26:54.467913Z INFO run: oxidize::setbac: Received new streamer token 2023-08-04T10:26:55.019293Z INFO run: oxidize::setbac: Received new streamer token

udoprog commented 1 year ago

There still seems to be a connection missing but the problem is I don't know WHICH one to reconnect or how

Can you make sure you've done the following:

JustVaelyn commented 1 year ago

ok will try and get back to ya

JustVaelyn commented 1 year ago

It still doesn't work. It's the exact same log file, nothing new gets added

JustVaelyn commented 1 year ago

Is it a possibility for me to get on a discord call, share my screen and that way someone can identify 'oh this is wrong, do x with it to fix' kinda deal?

edit: could it be something up with chat commands not going through? Every time I try to load the chat-commands or chat-alias pages, they are stuck forever on 'loading user information'.

udoprog commented 1 year ago

Sorry, the best I can do for now is recommend you try the nightly release. That's the one I run and it works for me. If that fixes your issue I'll make sure to bake a new release.

A link to the Discord is in the README. I can't guarantee private support sessions but maybe more interactivity and other people will be able to help.