Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Calm those in peril with the Litany Against Fear
Browse files Browse the repository at this point in the history
When Hubot hears that someone is afraid, he will recite the Litany
Against Fear.
  • Loading branch information
wesgibbs committed Sep 19, 2012
1 parent 42689ef commit 547dcef
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/scripts/mindkiller.coffee
Original file line number Diff line number Diff line change
@@ -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.