Text To Speech Telegram Bot
Text To Speech Telegram Bot with Brian voice that converts all your messages into voice.
It uses streamelements API for TTS.
git clone https://github.com/Kourva/TextToSpeechBot && cd TextToSpeechBot
pip install -r requirements.txt
You need to open token.env file and put your Token inside the file.
bot_token=your-bot-token-here
This bot will not work in groups (It will send the voice to your private message).
The reason is that i wrote user.usrid
when sending voice. so it will send it to user chat-ID, not other chat-ID's.
For fixing this. just change user.usrid
to message.chat.id
in [send_voice] method.
Update: Fixed! now bot can send voices to groups.
Start the bot and enjoy - Don't forget to star :)