mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
update readme with new info re: module script execution
This commit is contained in:
parent
c1db722e70
commit
3e02d82599
1 changed files with 9 additions and 3 deletions
12
README.md
12
README.md
|
@ -37,7 +37,13 @@ pip install -r requirements.txt
|
||||||
# setup secrets in config file outside of git
|
# setup secrets in config file outside of git
|
||||||
cp tipbot/config.example.py tipbot/config.py
|
cp tipbot/config.example.py tipbot/config.py
|
||||||
vim !$
|
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`
|
||||||
|
|
Loading…
Reference in a new issue