readme update and env sample

This commit is contained in:
Shihaam Abdul Rahman 2021-05-12 07:04:02 +05:00
parent a20307fa8b
commit 9ef1d87c06
3 changed files with 30 additions and 1 deletions

View File

@ -1 +1,18 @@
Telegra notification when you recive or send money from BML # BM-TG-NOTIFICATION
## Receive telegram notification when you receive money to your BML Account
### Requriements
`curl`
- Install curl with whatever package manager you use.
### Setup
```
curl https://raw.githubusercontent.com/shihaamabr/sarmic/master/bml-tg-notify/bml-tg-notify.sh > bml-tg-notify.sh
curl https://raw.githubusercontent.com/shihaamabr/sarmic/master/bml-tg-notify/env > .env
```
- edit the contents of .env to your config
```
chmod +x bml-tg-notify.sh
./bml-tg-notify.sh
```

6
bml-tg-notify/env Normal file
View File

@ -0,0 +1,6 @@
BML_USERNAME=''
BML_PASSWORD=''
BML_ACCOUNTID=''
TG_BOT_TOKEN=''
TG_CHATID=''
SLEEP=30

After

Width:  |  Height:  |  Size: 87 B

6
bml-tg-notify/env.sample Normal file
View File

@ -0,0 +1,6 @@
BML_USERNAME=''
BML_PASSWORD=''
BML_ACCOUNTID=''
TG_BOT_TOKEN=''
TG_CHATID=''
SLEEP=30

After

Width:  |  Height:  |  Size: 87 B