Update README.md

This commit is contained in:
Yago 2014-11-22 13:30:46 +01:00
parent a5bcd9f05c
commit 930f1b7e61
1 changed files with 24 additions and 17 deletions

View File

@ -23,24 +23,31 @@ $ ./configure && make
$ cd .. && ./launch.sh # Will ask you for a phone number & confirmation code. $ cd .. && ./launch.sh # Will ask you for a phone number & confirmation code.
``` ```
Multimedia
----------
- When user sends image (png, jpg, jpeg) URL download and send it to origin.
- When user sends media (gif, mp4, pdf, etc.) URL download and send it to origin.
- When user sends twitter URL, send text and images to origin. Requieres OAuth Key.
- When user sends youtube URL, send to origin video image.
![http://i.imgur.com/RQYGUuH.png](http://i.imgur.com/RQYGUuHm.png) ![http://i.imgur.com/zqojNhh.png](http://i.imgur.com/zqojNhhm.png)
Command list Command list
------------ ------------
``` ```
!help : print command list 9gag -> send random image from 9gag
!ping : bot sends pong !echo [whatever] -> echoes the msg
!sh (text) : send commands to bash (only privileged users) !eur [USD] -> EURUSD market value
!echo (text) : echo the msg !uc3m -> Fortunes from Universidad Carlos III
!version : version info !get (value_name) -> retrieves variables saved with !set
!cpu : status (uname + top) say hello to [name] -> Says hello to someone
!fwd : forward msg !help -> Lists all available commands
!forni : send text to group Fornicio !img [topic] -> search image with Google API and sends it
!fortune : print a random adage !ping -> bot sends pong
!weather (city) : weather in that city (Madrid is default) !rae [word] -> Spanish dictionary
!9gag : send random url image from 9gag !set [value_name] [data] -> Set value
!rae (word) : Spanish dictionary !tw [text] -> Sends a tweet
!eur (USD) : EURUSD market value !version -> Shows the bot version
!img (text) : search image with Google API and sends it !weather (city) -> weather in that city (Madrid is default)
!uc3m : fortunes from Universidad Carlos III
!set [variable_name] [value] : store for !get
!get (variable_name) : retrieves variables saved with !set
``` ```