Browse files

Fix documentation.

  • Loading branch information...
1 parent ebfc478 commit 1687e56de23ed9248e2247152916ce9230c81635 @aaronott aaronott committed Nov 5, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 src/scripts/commandlinefu.coffee
View
11 src/scripts/commandlinefu.coffee
@@ -1,18 +1,19 @@
# Description:
-# Returns a command from commandlinefu.com
+# Returns a command from commandlinefu.com
#
# Dependencies:
-# None
+# None
#
# Configuration:
-# None
+# None
#
# Commands:
-# show me some commandlinefu - returns random command
-# show me some commandlinefu <command> - random entry for the comand passed
+# hubot show me some commandlinefu - returns random command
+# hubot show me some commandlinefu <command> - random entry for the comand passed
#
# Author:
# aaronott
+
module.exports = (robot) ->
robot.respond /(show me some )?(commandlinefu)\s*(.*)?/i, (msg) ->
uri = "http://www.commandlinefu.com/commands/"

0 comments on commit 1687e56

Please sign in to comment.