Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions scripts/bees.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# atmos

module.exports = (robot) ->
robot.hear /[^\w+]bees\b/i, (message) ->
message.send "http://i.imgur.com/qrLEV.gif"
robot.hear /\bbees*\b/i, (message) ->
if Math.random() < .2
message.send "https://giphy.com/gifs/bees-SRKQ1Y0TB4n1m"
else
message.send "http://i.imgur.com/qrLEV.gif"
# http://rubular.com/r/7VE6kR3EbX
27 changes: 27 additions & 0 deletions scripts/shitposting.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Description:
# Post some Shitposting gifs when people talk about shitposting
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# shitpost with a word boundary on the beginning, so it will match all forms of shitpost*
#
# Author:
# bsutt123
gifs = [
"https://giphy.com/gifs/acid-may-gifdump-5pH1ZIzHe7efu",
"https://giphy.com/gifs/jezv3ryaSh9OE",
"https://giphy.com/gifs/yBt63pbpGfiik",
"https://giphy.com/gifs/incomparablyme-8px9vxdVqbaJa"
]

module.exports = (robot) ->
robot.hear /\bshitpost/i, (msg) ->
if Math.random() > .5
msg.send msg.random gifs