26 lines
305 B
Markdown
26 lines
305 B
Markdown
|
# stappabot
|
||
|
|
||
|
## Getting started
|
||
|
|
||
|
Install stappabot
|
||
|
|
||
|
```sh
|
||
|
go get git.fromouter.space/Hamcha/stappabot
|
||
|
```
|
||
|
|
||
|
Set these env vars:
|
||
|
|
||
|
```sh
|
||
|
STAPPA_TOKEN=telegram-bot-token
|
||
|
STAPPA_BIND=:5749
|
||
|
STAPPA_WEBHOOK=https://telegram.webhook/endpoint
|
||
|
STAPPA_PATH=endpoint
|
||
|
STAPPA_MAXREQUEST=5
|
||
|
```
|
||
|
|
||
|
Run:
|
||
|
|
||
|
```sh
|
||
|
stappabot
|
||
|
```
|