[shortutils] Add !api and remove !proc

master
sfan5 2017-04-23 20:39:48 +02:00
parent 2edcb8109f
commit 512133a3c4
2 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ Required arguments are enclosed in { and }, optional arguments are enclosed in [
<tr> <td>!next</td> <td>Say: "Another satisfied customer. Next!"</td> <td>Anyone</td> </tr>
<tr> <td>!pil [nick]</td> <td>Link to Lua PIL</td> <td>Anyone</td> </tr>
<tr> <td>!git [nick]</td> <td>Link to Git manual</td> <td>Anyone</td> </tr>
<tr> <td>!api [nick]</td> <td>Link to API docs</td> <td>Anyone</td> </tr>
<tr> <td>!btc [currency]</td> <td>Get Bitcoin price for specified currency</td> <td>Anyone</td> </tr>
<tr> <td><b>tell.py</b></td> <td></td> <td></td> </tr>
<tr> <td>!tell {nick} {message}</td> <td>Tell somebody a message</td> <td>Anyone</td> </tr>

View File

@ -30,7 +30,7 @@ questions = make_cmd("questions", "someone thinks that your question is inaccura
pil = make_cmd("pil", "someone thinks you need to brush up on or learn Lua, please go to: http://lua.org/pil/")
git = make_cmd("git", "someone thinks you need to brush up on or learn Git, please go to: http://git-scm.com/book/")
stfu = make_cmd("stfu", "someone thinks you need to shut the fuck up before you get muted.")
proc = make_cmd("proc", "someone thinks you need to stop procrastinating.")
api = make_cmd("api", "someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt")
def next(phenny, input):
"""Next one please"""