inevolin / DiscordEarsBot

A speech-to-text framework and bot for Discord. Take control of your Discord server using speech and voice commands. Can also be useful for hearing impaired and deaf people.
MIT License
65 stars 332 forks source link

WitAi fixed #2

Open Tiger14n opened 2 years ago

Tiger14n commented 2 years ago

the old Witai transcribe config doesn't work anymore so i fixed it

DigiVore-Programing commented 2 years ago

updates do not fix witai issue

022-03-18T02:15:15.475Z :: I'm listening to DigiVore 2022-03-18T02:15:15.886Z :: transcribe_witai 851:TypeError: outputjson.replace is not a function 2022-03-18T02:15:15.886Z :: TypeError: outputjson.replace is not a function at transcribe_witai (/home/container/index.js:410:40) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Decoder. (/home/container/index.js:353:27) 2022-03-18T02:15:16.762Z :: duration: 1.04 2022-03-18T02:15:16.763Z :: sleep 2022-03-18T02:15:16.864Z :: sleep 2022-03-18T02:15:16.964Z :: transcribe_witai 2022-03-18T02:15:17.199Z :: I'm listening to DigiVore 2022-03-18T02:15:17.677Z :: transcribe_witai 851:TypeError: outputjson.replace is not a function 2022-03-18T02:15:17.678Z :: TypeError: outputjson.replace is not a function at transcribe_witai (/home/container/index.js:410:40) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Decoder. (/home/container/index.js:353:27) 2022-03-18T02:15:18.097Z :: duration: 0.66 2022-03-18T02:15:18.098Z :: TOO SHORT / TOO LONG; SKPPING 2022-03-18T02:15:22.281Z :: I'm listening to DigiVore