Skip to content

Commit 0e098df

Browse files
authored
Update README.md
1 parent b27613e commit 0e098df

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
# PhpBot
1+
# PhpBot
2+
3+
```bash
4+
git clone --recursive https://github.com/otgo/PHPBot.git
5+
cd PHPBot
6+
```
7+
8+
9+
10+
Set webhooks:
11+
```bash
12+
TOKEN="BOT_TOKEN_HERE"
13+
URL_SCRIPT="https://mi_website.com/PHPBot/bot.php"
14+
curl "https://api.telegram.org/bot${TOKEN}/setWebhook?url=${URL_SCRIPT}"
15+
```

0 commit comments

Comments
 (0)