Permalink
Browse files

Calm those in peril with the Litany Against Fear

When Hubot hears that someone is afraid, he will recite the Litany
Against Fear.
  • Loading branch information...
1 parent 42689ef commit 547dcef5c3263ffa6245873893f0bd29ac9fa4c7 @wesgibbs wesgibbs committed Sep 17, 2012
Showing with 28 additions and 0 deletions.
  1. +28 −0 src/scripts/mindkiller.coffee
@@ -0,0 +1,28 @@
+# Description:
+# Abolish all fear from your chat room. Hubot will calm those in peril with a
+# recitation of the Litany Against Fear.
+#
+# Dependencies:
+# None
+#
+# Configuration:
+# None
+#
+# Commands:
+# fear|afraid - Recite the Litany Against Fear
+#
+# Authors:
+# wgibbs
+
+litany = "I must not fear.\n
+Fear is the mind-killer.\n
+Fear is the little-death that brings total obliteration.\n
+I will face my fear.\n
+I will permit it to pass over me and through me.\n
+And when it has gone past I will turn the inner eye to see its path.\n
+Where the fear has gone there will be nothing.\n
+Only I will remain."
+
+module.exports = (robot) ->
+ robot.hear /(afraid|fear)/i, (msg) ->
+ msg.send litany

0 comments on commit 547dcef

Please sign in to comment.