moonstar-x / discord-tts-bot

A Text-to-Speech bot for Discord.
https://docs.moonstar-x.dev/discord-tts-bot
MIT License
98 stars 84 forks source link

Bot is not speaking anything #36

Closed ChandanGaming closed 3 years ago

ChandanGaming commented 3 years ago

when I use command say it connects to the voice channel but did not say anything image_2021-07-15_233504

moonstar-x commented 3 years ago

This isn't a bug, the console is telling you that you need ffmpeg.

I'm seeing that you're trying to use Repl.it, I've seen people having issues with it before. If I remember correctly, they removed ffmpeg some time ago and then re-added it, however it kinda sounds like they're removing it again.

You could try remaking a new Repl.it instance and see if that one works.

You could also try installing ffmpeg, I believe you don't get root permissions in those instances, so installing something through its package manager may not be possible, but you could try installing it through npm:

npm install -g ffmpeg-static

Or,

npm install ffmpeg-static

I'm not sure about the latter, this one would just install the binary to node_modules and I'm not sure if prism is aware of the node_modules binary path.

In any case, I've never used Repl.it before, nor plan on using it...

ChandanGaming commented 3 years ago

Thank you bro it's working now

moonstar-x commented 3 years ago

I'm glad it's working now! :)