Skip to content

Fynjirby/bruhbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Bruh Bot

Telegram bot written in Python

How to install

Clone repo to your machine, go to the projects folder and run this commands

  1. Init venv (skip this step if you use global pip3 packages)
    python3 -m venv sus-venv
    source sus-venv/bin/activate
  2. Install depesities
    pip3 install telebot speechrecognition dotenv soundfile
  3. Put your Telegram API token in .env file
    TELEGRAM_API_KEY=XXXXXXXXXX:XXXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXX
  4. Finally run it with
    python3 main.py

Functions

  • /start - start command
  • /info - will show info about message from user
  • send voice message - will recognize speech to text on 5 langs
    • English
    • Russian
    • Ukrainian
    • Deutsch
    • Portuguese (you can add more langs)