Update README.md
This commit is contained in:
parent
2ed585b1fa
commit
b2951061b7
21
README.md
21
README.md
@ -1,15 +1,22 @@
|
|||||||
telegram-bot
|
telegram-bot
|
||||||
============
|
============
|
||||||
|
|
||||||
Bot for telegram with [tg](https://github.com/vysheng/tg).
|
A telegram bot using https://github.com/vysheng/tg.
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
* Requirements
|
||||||
```bash
|
```bash
|
||||||
# Tested on Ubuntu 14.04
|
# Tested on Ubuntu 14.04
|
||||||
sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune curl
|
$ sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune curl luarocks
|
||||||
git clone https://github.com/yagop/telegram-bot.git && cd telegram-bot
|
```
|
||||||
git submodule update --init --recursive
|
|
||||||
cd tg
|
* Clone the repo & compile the telegram library
|
||||||
./configure && make
|
```bash
|
||||||
../launch.sh
|
$ git clone https://github.com/yagop/telegram-bot --recursive && cd telegram-bot/tg
|
||||||
|
$ ./configure && make
|
||||||
|
$ cd .. && ./launch.sh # Will ask you for a telegram enabled number phone & confirmation code.
|
||||||
```
|
```
|
||||||
|
|
||||||
Command list
|
Command list
|
||||||
|
Reference in New Issue
Block a user