|
|
|
@ -37,7 +37,13 @@ pip install -r requirements.txt
|
|
|
|
|
# setup secrets in config file outside of git
|
|
|
|
|
cp tipbot/config.example.py tipbot/config.py
|
|
|
|
|
vim !$
|
|
|
|
|
|
|
|
|
|
# run it
|
|
|
|
|
python3 tipbot/tipbot.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
There are 2 modules in this repo:
|
|
|
|
|
|
|
|
|
|
- `tipbot` - the Telegram bot process
|
|
|
|
|
- `admin` - management commands
|
|
|
|
|
|
|
|
|
|
To use them, ensure you're in the virtualenv and run `python3 -m tipbot` or `python3 -m admin`
|
|
|
|
|