From 0de64dcf3e9b92735a621314030b97540038056a Mon Sep 17 00:00:00 2001 From: Yago Date: Wed, 6 Aug 2014 01:19:31 +0200 Subject: [PATCH] Command list --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33ba2b8..fae84fd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ telegram-bot ============ -Bot for telegram with tg [tg](https://github.com/vysheng/tg). +Bot for telegram with [tg](https://github.com/vysheng/tg). Requires sudo apt-get install lua-socket: @@ -15,4 +15,18 @@ $ make $ ../launch.sh ``` -`!help` for command list. \ No newline at end of file +Command list +``` +!help : print this help +!ping : bot sends pong +!sh (text) : send commands to bash (only privileged users) +!echo (text) : echo the msg +!version : version info +!cpu : status (uname + top) +!fwd : forward msg +!forni : send text to group Fornicio +!fortune : print a random adage +!weather [city] : weather in that city (Madrid if not city) +!9gag : send random image from 9gag +!uc3m : fortunes from Universidad Carlos III +```