TextToSpeechBot

Text To Speech Telegram Bot with Brian voice.

Stars
11

Installation

  • clone
git clone https://github.com/Kourva/TextToSpeechBot && cd TextToSpeechBot
  • requirements
pip install -r requirements.txt
  • run
python3 bot.py

Config

You need to open token.env file and put your Token inside the file.
You can get one from Bot father.
bot_token=your-bot-token-here

Note (Fixed)

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.

Thanks

Start the bot and enjoy - Don't forget to star :)