changed readme
This commit is contained in:
parent
0d8de480db
commit
e81d0c683b
14
README.md
14
README.md
@ -5,21 +5,17 @@ A telegram bot using https://github.com/vysheng/tg.
|
|||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* Requirements
|
|
||||||
```bash
|
```bash
|
||||||
# Tested on Ubuntu 14.04, for other OSs check out https://github.com/vysheng/tg#installation
|
# Tested on Ubuntu 14.04, for other OSs check out https://github.com/vysheng/tg#installation
|
||||||
$ sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune curl luarocks
|
$ sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune
|
||||||
```
|
$ git clone https://github.com/yagop/telegram-bot --recursive
|
||||||
|
$ cd telegram-bot/tg
|
||||||
* Clone the repo & compile the telegram library
|
|
||||||
```bash
|
|
||||||
$ git clone https://github.com/yagop/telegram-bot --recursive && cd telegram-bot/tg
|
|
||||||
$ ./configure && make
|
$ ./configure && make
|
||||||
$ cd .. && ./launch.sh # Will ask you for a telegram enabled number phone & confirmation code.
|
$ cd .. && ./launch.sh # Will ask you for a phone number & confirmation code.
|
||||||
```
|
```
|
||||||
|
|
||||||
Command list
|
Command list
|
||||||
|
------------
|
||||||
```
|
```
|
||||||
!help : print command list
|
!help : print command list
|
||||||
!ping : bot sends pong
|
!ping : bot sends pong
|
||||||
|
Reference in New Issue
Block a user