|
|
před 5 roky | |
|---|---|---|
| wbb | před 5 roky | |
| .dockerignore | před 5 roky | |
| .gitignore | před 5 roky | |
| CODE_OF_CONDUCT.md | před 5 roky | |
| CONTRIBUTING.md | před 5 roky | |
| Dockerfile | před 5 roky | |
| LICENSE | před 5 roky | |
| Procfile | před 5 roky | |
| README.md | před 5 roky | |
| docker-compose.yaml | před 5 roky | |
| heroku.yml | před 5 roky | |
| requirements.txt | před 5 roky | |
| runtime.txt | před 5 roky | |
| sample_config.py | před 5 roky |
Just Another Telegram Bot Written In Python Using Pyrogram.
$ git clone https://github.com/thehamkercat/WilliamButcherBot
$ cd WilliamButcherBot
$ pip3 install -U -r requirements.txt
$ cp sample_config.py config.py
Edit config.py with your own values
$ python3 -m wbb
$ git clone https://github.com/thehamkercat/WilliamButcherBot
$ cd WilliamButcherBot
$ pip3 install -U -r requirements.txt
$ cp sample_config.py config.py
$ rm .gitignore
$ heroku git:remote -a YOUR_HEROKU_APP_NAME
$ heroku stack:set container
$ git add -f .
$ git commit -m 'Hail WBB!'
$ git push heroku HEAD:master --force
$ heroku ps:scale worker=1