-
-
Save sd/1316802 to your computer and use it in GitHub Desktop.
Make Hubot talk shit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make Hubot talk shit. | |
module.exports = (robot) -> | |
robot.hear /(fuck you|fuck off|shut up)/i, (msg) -> | |
incoming_msg = msg.message | |
if incoming_msg.text.match ///#{robot.name}///i | |
diss = msg.match[1] | |
if diss != "fuck you" | |
diss = "you #{diss}" | |
msg.send "No, #{diss}, #{incoming_msg.user.name}!!!" | |
robot.hear /(fuck|shit|cunt|bitch|cock)/i, (msg) -> | |
msg.read "That's right, #{incoming_msg.user.name}, #{diss}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment