sayonari / twitchTransFreeNext

MIT License
204 stars 102 forks source link

translation not showing up in twitch chat #67

Open Jony1503 opened 1 month ago

Jony1503 commented 1 month ago

Screenshot 2024-05-24 221028

added all information in the config file but when i try to open the application sometimes it doesn't open all the time and it when it does open it doesnt show up on my twitch chat.

SOMEONE HELP ME PLEASE!!!!!!!!

didotb commented 1 month ago

It would help us if you could show your config file, make sure to remove any sensitive data like the Trans_OAUTH It might also help to enable Debug to see what the app is doing when it sees chats

Jony1503 commented 1 month ago

okay here Screenshot 2024-05-25 094852

Jony1503 commented 1 month ago

thank you so much for responding

didotb commented 1 month ago

Just to make sure, but the OAuth that you have, you got that while being logged in to your translator bot, no? Twitch checks the username you specified, and the username used to generate the OAuth. If they don't match, it will immediately reject it.

I have watched your recent stream, and saw it working but not sending any in chat. We have 100% the same config in the screenshot, and it works fine for me. The only way I could replicate your problem was when I used a different OAuth that was not linked to my bot's username.

didotb commented 1 month ago

Could you change the line GoogleTranslate_suffix = 'co.jp' to GoogleTranslate_suffix = 'com' instead? Perhaps you can't reach the Japanese website for Google Translate?

Jony1503 commented 1 month ago

sorry for the late respond man i was taking a trip but let me check

Jony1503 commented 1 month ago

Just to make sure, but the OAuth that you have, you got that while being logged in to your translator bot, no? Twitch checks the username you specified, and the username used to generate the OAuth. If they don't match, it will immediately reject it.

I have watched your recent stream, and saw it working but not sending any in chat. We have 100% the same config in the screenshot, and it works fine for me. The only way I could replicate your problem was when I used a different OAuth that was not linked to my bot's username.

uhmm yes its being logged into my translator bot can i make a new oauth for the account and start fresh like that

Jony1503 commented 1 month ago

Could you change the line GoogleTranslate_suffix = 'co.jp' to GoogleTranslate_suffix = 'com' instead? Perhaps you can't reach the Japanese website for Google Translate?

ima try it rn

didotb commented 1 month ago

uhmm yes its being logged into my translator bot can i make a new oauth for the account and start fresh like that

yes you definitely can

didotb commented 1 month ago

you can also try adding your bot as a moderator, perhaps a twitch moderation setting is causing the bot's chat to be rejected

Jony1503 commented 1 month ago

how do i make it as a moderator im sorry )):

didotb commented 1 month ago

how do i make it as a moderator im sorry )):

just type in chat /mod <username> where <Username> is the bot

Jony1503 commented 1 month ago

no it didnt work so ima have to disconnect the oauth from the translator bot and make a new one right

didotb commented 1 month ago

no it didnt work so ima have to disconnect the oauth from the translator bot and make a new one right

Before making a new one, have you turned on the debug option? It should display some details regarding your setup as to why it won't work.

Jony1503 commented 1 month ago

look Screenshot 2024-05-27 162647

didotb commented 1 month ago

At this point I have no idea why it's not working for you. Last resort would be to create a completely new folder somewhere else, re-download the windows binary, and re-configure the config.py. I suspect a somewhat corrupted file maybe? highly unlikely but still possible.

Jony1503 commented 1 month ago

yea it doesn't work for me idk why but thanks for the help