updated command img info
This commit is contained in:
parent
93cd0f37db
commit
36c0e56fc9
@ -4,7 +4,7 @@ telegram-bot
|
|||||||
Bot for telegram with [tg](https://github.com/vysheng/tg).
|
Bot for telegram with [tg](https://github.com/vysheng/tg).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev
|
sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune curl
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
cd tg
|
cd tg
|
||||||
./configure
|
./configure
|
||||||
@ -25,5 +25,6 @@ Command list
|
|||||||
!fortune : print a random adage
|
!fortune : print a random adage
|
||||||
!weather [city] : weather in that city (Madrid if not city)
|
!weather [city] : weather in that city (Madrid if not city)
|
||||||
!9gag : send random image from 9gag
|
!9gag : send random image from 9gag
|
||||||
|
!img (text) : search image with Google API and sends it
|
||||||
!uc3m : fortunes from Universidad Carlos III
|
!uc3m : fortunes from Universidad Carlos III
|
||||||
```
|
```
|
||||||
|
@ -179,6 +179,7 @@ Puedes hacer una donación a la ONG que decidas y ayudar a otras personas.]]
|
|||||||
!fortune : print a random adage
|
!fortune : print a random adage
|
||||||
!weather [city] : weather in that city (Madrid if not city)
|
!weather [city] : weather in that city (Madrid if not city)
|
||||||
!9gag : send random url image from 9gag
|
!9gag : send random url image from 9gag
|
||||||
|
!img (text) : search image with Google API and sends it
|
||||||
!uc3m : fortunes from Universidad Carlos III]]
|
!uc3m : fortunes from Universidad Carlos III]]
|
||||||
send_msg(receiver, text, ok_cb, false)
|
send_msg(receiver, text, ok_cb, false)
|
||||||
return
|
return
|
||||||
|
2
tg
2
tg
@ -1 +1 @@
|
|||||||
Subproject commit ddcd8ad44eab32ac977601be0a8e9c8be9420777
|
Subproject commit ce61adac12fc18e2f5c8165e10f6ba91e1cb0928
|
Reference in New Issue
Block a user