Clad3815 / Twitch-Streamer-GPT

Twitch Streamer GPT is a NodeJS-based Twitch enhancement tool, offering interactive stream experiences with AI-powered automated responses, voice command activations, and advanced modules. It's easy to set up and suited for users of all tech levels.
40 stars 15 forks source link

The bot disconnect every time #3

Closed CendresBleues closed 1 year ago

CendresBleues commented 1 year ago

Hello , when i am starting the "start all file" all is working , but when i start to say the wake up word the chat bot give me error like a disconnexion the error is : [2023-08-14T04:54:09.765Z] twurple:pubsub:basic ERROR Disconnected unexpectedly: [1006] and it does every minutes, the bot run , sometime say "merci d'avoir regarder cette vidéo " instead of my sentence IDK Why. Did you have a solution to stop disconnect ? (i have the same client id as my bot account on my main cause it's on the same email i guess) You can respond in french if you want , will be more simple if you speak it but english is good too.

image

CendresBleues commented 1 year ago

image Sometimes , recognize just a "you" instead of my sentence

CendresBleues commented 1 year ago

Ok so the "you" word is created by a crack noise inside all my microphone , i dont hear them when hear on my voicemeeter but the bot create this noises

Clad3815 commented 1 year ago

Can you try to use "node-vad" instead of the Silence Threshold system ? For that you need to activate it on the .env and start the .bat install_node_vad.bat

CendresBleues commented 1 year ago

Ok so the node vad working well , only problem is the disconnect

Clad3815 commented 1 year ago

The disconnect seem to be from your internet or something, but normally it's auto reconnect. Did it produce some bugs ? Or just the logs on the console ?

CendresBleues commented 1 year ago

it slowing down the bot and sometime make the sentence repeat x2 or x3 like it play the audio file multiple times ans make answers gones wrongs

CendresBleues commented 1 year ago

Did i need to change the port maybe ? i am using a 4g router can it be the problem ? (i have try to disable my firewall and activate a DMZ on my pc )

Clad3815 commented 1 year ago

Can be, but I will check about that. I didn't tried on "slow" connexion. I think I can make a workaround

CendresBleues commented 1 year ago

Ok thank you my 4g is a slow connexion but my internet box is more slower xD

Clad3815 commented 1 year ago

Haha yea I got that, otherwise no reason to use 4G. Actually the script have multiple opened connexion to twitch not a single one, so it's can be the case. I will do some test and update this issue

CendresBleues commented 1 year ago

Ok j'ai trouvé d'ou venait le soucis , je m'étais raté dans la configuration , tout venais de moi hahaha désolé pour le derangement