Merge pull request #11 from TiagoDanin/patch-2
Organization of command list of plugins
This commit is contained in:
commit
b7aadc5247
270
README.md
270
README.md
@ -9,92 +9,19 @@ To start, send "/start" or say "Hello, otouto."
|
||||
|
||||
##Plugins
|
||||
|
||||
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>help.lua</td>
|
||||
<td>/help [command]</td>
|
||||
<td>List commands</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>about.lua</td>
|
||||
<td>/about</td>
|
||||
<td>Information about the bot</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gSearch.lua</td>
|
||||
<td>/google <query></td>
|
||||
<td>Google Search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gImages.lua</td>
|
||||
<td>/images <query></td>
|
||||
<td>Google Images search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>reddit.lua</td>
|
||||
<td>/reddit [r/subreddit | query]</td>
|
||||
<td>Posts from reddit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>giphy.lua</td>
|
||||
<td>/giphy [query]</td>
|
||||
<td>Giphy search or random</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>xkcd.lua</td>
|
||||
<td>/xkcd [search]</td>
|
||||
<td>xkcd strips and alt text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gMaps.lua</td>
|
||||
<td>/loc <location></td>
|
||||
<td>Google Maps search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>imdb.lua</td>
|
||||
<td>/imdb <movie | TV series></td>
|
||||
<td>IMDb movie/television info</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>urbandictionary.lua</td>
|
||||
<td>/ud <term></td>
|
||||
<td>Urban Dictionary search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hackernews.lua</td>
|
||||
<td>/hackernews</td>
|
||||
<td>Top stories from Hackernews</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>time.lua</td>
|
||||
<td>/time <location></td>
|
||||
<td>Get the time for a place</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>weather.lua</td>
|
||||
<td>/weather <location></td>
|
||||
<td>Get the weather for a place</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>calc.lua</td>
|
||||
<td>/calc <expression></td>
|
||||
<td>Solve math expression and convert units</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dice.lua</td>
|
||||
<td>/roll [arg]</td>
|
||||
<td>Roll a die. Accepts D&D notation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>remind.lua</td>
|
||||
<td>/remind <delay> <message></td>
|
||||
<td>Set a reminder for yourself or a group</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>8ball.lua</td>
|
||||
<td>/8ball</td>
|
||||
<td>Magic 8-ball</td>
|
||||
<td>admin.lua</td>
|
||||
<td>/admin [command]</td>
|
||||
<td>Support for admin</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>bandersnatch.lua</td>
|
||||
@ -106,16 +33,51 @@ To start, send "/start" or say "Hello, otouto."
|
||||
<td>/bible <verse></td>
|
||||
<td>King James Version</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>blacklist.lua</td>
|
||||
<td>/blacklist</td>
|
||||
<td>Blacklist</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>btc.lua</td>
|
||||
<td>/btc <currency> [amount]</td>
|
||||
<td>Bitcoin prices and conversion</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>calc.lua</td>
|
||||
<td>/calc <expression></td>
|
||||
<td>Calculator</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>cats.lua</td>
|
||||
<td>/calc <expression></td>
|
||||
<td>Solve math expression and convert units</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>chatter.lua</td>
|
||||
<td>@[user_name_bot], [message]</td>
|
||||
<td>Chatter Bot</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>commit.lua</td>
|
||||
<td>/commit</td>
|
||||
<td>http://whatthecommit.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>currency.lua</td>
|
||||
<td>/cash <from> <to> [amount]</td>
|
||||
<td>Convert an amount from one currency to another</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dgmp.lua</td>
|
||||
<td>/index and /listgroups</td>
|
||||
<td>Plugin to display the groups, descriptions, etc.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dice.lua</td>
|
||||
<td>/roll [arg]</td>
|
||||
<td>Roll a die. Accepts D&D notation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dogify.lua</td>
|
||||
<td>/dogify <lines/separatedby/slashes></td>
|
||||
@ -126,16 +88,96 @@ To start, send "/start" or say "Hello, otouto."
|
||||
<td>/echo <text></td>
|
||||
<td>Repeat a string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>floodcontrol.lua</td>
|
||||
<td>No command</td>
|
||||
<td>Flood control</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>fortune.lua</td>
|
||||
<td>/fortune</td>
|
||||
<td>Random fortunes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gImages.lua</td>
|
||||
<td>/images <query></td>
|
||||
<td>Google Images search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>giphy.lua</td>
|
||||
<td>/giphy [query]</td>
|
||||
<td>Giphy search or random</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gMaps.lua</td>
|
||||
<td>/loc <location></td>
|
||||
<td>Google Maps search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gSearch.lua</td>
|
||||
<td>/google <query></td>
|
||||
<td>Google Search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hackernews.lua</td>
|
||||
<td>/hackernews</td>
|
||||
<td>Top stories from Hackernews</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hearthstone.lua</td>
|
||||
<td>/hearthstone <card></td>
|
||||
<td>Information about a Hearthstone card</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>help.lua</td>
|
||||
<td>/help [command]</td>
|
||||
<td>List commands</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hex.lua</td>
|
||||
<td>/hex <number></td>
|
||||
<td>Convert to and from hexadecimal</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>imdb.lua</td>
|
||||
<td>/imdb <movie | TV series></td>
|
||||
<td>IMDb movie/television info</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>interactions.lua</td>
|
||||
<td>No command</td>
|
||||
<td>Welcome</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>kickass.lua</td>
|
||||
<td>/torrent <query></td>
|
||||
<td>Search Kickass Torrents</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>lastfm.lua</td>
|
||||
<td>/lastfm [username]</td>
|
||||
<td>Get current- or last-played track</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>lmgtfy.lua</td>
|
||||
<td>/lmgtfy</td>
|
||||
<td>Open page of lmgtfy</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>moderation.lua</td>
|
||||
<td>/modhelp</td>
|
||||
<td>Support for moderator or admin</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>nick.lua</td>
|
||||
<td>/nick <nickname></td>
|
||||
<td>Set your nickname for the bot</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>owm.lua</td>
|
||||
<td>/weather <location></td>
|
||||
<td>Temperature and weather conditions</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>pokedex.lua</td>
|
||||
<td>/dex <pokemon></td>
|
||||
@ -146,45 +188,81 @@ To start, send "/start" or say "Hello, otouto."
|
||||
<td>/pun</td>
|
||||
<td>Puns</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>reaction.lua</td>
|
||||
<td>/reactions</td>
|
||||
<td>Get a list emoticons</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>reddit.lua</td>
|
||||
<td>/reddit [r/subreddit | query]</td>
|
||||
<td>Posts from reddit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>remind.lua</td>
|
||||
<td>/remind <delay> <message></td>
|
||||
<td>Set a reminder for yourself or a group</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>slap.lua</td>
|
||||
<td>/slap [victim]</td>
|
||||
<td>Slap someone!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>whoami.lua</td>
|
||||
<td>/who</td>
|
||||
<td>Get user and group IDs</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>nick.lua</td>
|
||||
<td>/nick <nickname></td>
|
||||
<td>Set your nickname for the bot</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>wikipedia.lua</td>
|
||||
<td>/wiki <topic></td>
|
||||
<td>Search Wikipedia</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>spotify.lua</td>
|
||||
<td>/spotify <music></td>
|
||||
<td>Search Spotify</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>youtube.lua</td>
|
||||
<td>/youtube <query></td>
|
||||
<td>Search Youtube</td>
|
||||
<td>time.lua</td>
|
||||
<td>/time <location></td>
|
||||
<td>Get the time for a place</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>translate.lua</td>
|
||||
<td>/translate [target lang]</td>
|
||||
<td>Message to translate</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>urbandictionary.lua</td>
|
||||
<td>/ud <term></td>
|
||||
<td>Urban Dictionary search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>weather.lua</td>
|
||||
<td>/weather <location></td>
|
||||
<td>Get the weather for a place</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>whoami.lua</td>
|
||||
<td>/who</td>
|
||||
<td>Get user and group IDs</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>wikipedia.lua</td>
|
||||
<td>/wiki <topic></td>
|
||||
<td>Search Wikipedia</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>xkcd.lua</td>
|
||||
<td>/xkcd [search]</td>
|
||||
<td>Xkcd strips and alt text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>youtube.lua</td>
|
||||
<td>/youtube <query></td>
|
||||
<td>Search Youtube</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>8ball.lua</td>
|
||||
<td>/8ball</td>
|
||||
<td>Magic 8-ball.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
##Setup
|
||||
|
||||
Requires Lua, lua-socket and lua-sec. [dkjson](http://github.com/LuaDist/dkjson/) is provided. Written for Lua 5.2 but will probably run on 5.3.
|
||||
|
Reference in New Issue
Block a user