From 1e70646ae5d62696a398f3290f29c7427ed3df22 Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Tue, 22 Jan 2013 21:07:04 +0000 Subject: [PATCH] update documentation Added README to the dice module. Updated the README in the link module to reflect changes in fba8edef18a8b5b800002c3c9302750d9ef5f9a9 --- modules/dice/README.md | 9 +++++++++ modules/link/README.md | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 modules/dice/README.md diff --git a/modules/dice/README.md b/modules/dice/README.md new file mode 100644 index 0000000..049d695 --- /dev/null +++ b/modules/dice/README.md @@ -0,0 +1,9 @@ +## Dice +Rolls virtual dice. + +### Description +Rolls a virtual die and outputs the result to the channel. +### Commands + +#### ~roll +Rolls a die. 1d6 will be rolled by default. diff --git a/modules/link/README.md b/modules/link/README.md index 5b83bce..24c52d0 100644 --- a/modules/link/README.md +++ b/modules/link/README.md @@ -19,3 +19,5 @@ they are posted in the channel. If called with a link, the bot will attempt to find and return the title of that page. If called without a link, the bot will attempt the same on the last link which was posted in the current channel. +#### ~ud [headword] +Returns the first [Urban Dictionary](http://www.urbandictionary.com) definition for the headword provided.