This is simple telegram bot that can send bruh sounds. Original bot can be found here.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
For running this project you need to install Python 3.6 or higher.
In Ubuntu, Mint and Debian you can install Python like this:
sudo apt-get install python3 python3-pip
You might also need a DBMS such as PostgreSQL or MySQL.
- Clone the repo
git clone https://github.com/artembakhanov/bruh-bot.git
- Change the directory
cd bruh-bot
- Install dependencies
sudo pip3 install -r requirements.txt
- Set config parameters (they are used if environment variables are not set).
TOKEN = "<your_bot_token>"
DATABASE_URL = "sqlite:///hello.db"
- Run
main.py
python3 main.py
If you want to deploy this project on Heroku, follow these instructions.
- Create app
heroku create
- Set enviroment variables
heroku config:set DATABASE_URL=<database_url>
heroku config:set t_token=<your_bot_token>
If you want the bot to work on webhooks, add the following variables
heroku config:set webhooks=<database_url>
heroku config:set APP_URL=<your_heroku_app_url>
- Deploy the code
git push heroku master
- (Optional) If the bot is working on webhooks open you app in browser.
- pyTelegramBotAPI - Python API wrapper
- SQLAlchemy - SQL toolkit
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/yourFeature
) - Commit your Changes (
git commit -m 'Add some yourFeature'
) - Push to the Branch (
git push origin feature/yourFeature
) - Open a Pull Request
- Artem Bakhanov - @artembakhanov
This project is licensed under the MIT License - see the LICENSE file for details
- Memes are the best