-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Kinnane
committed
Jan 15, 2017
1 parent
7d90f69
commit 5145a7d
Showing
7 changed files
with
119 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Description: | ||
# Testing hubot in the shell with Playbook | ||
# | ||
# Dependencies: | ||
# N/A | ||
# | ||
# Configuration: | ||
# N/A | ||
# | ||
# Commands: | ||
# hubot ping - responds with pong | ||
# | ||
# Author: | ||
# timkinnane | ||
# | ||
|
||
{Robot} = require 'hubot' | ||
robot = new Robot 'hubot/src/adapters', 'shell' | ||
robot.name = 'hublet' | ||
|
||
module.exports = -> | ||
|
||
# talk when talked to | ||
robot.respond /ping/, (res) -> res.reply 'pong' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Description: | ||
# Silence is golden. | ||
# | ||
# Dependencies: | ||
# N/A | ||
# | ||
# Configuration: | ||
# N/A | ||
# | ||
# Commands: | ||
# N/A | ||
# | ||
# Author: | ||
# timkinnane | ||
# | ||
|
||
module.exports = (robot) -> |
This file contains 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
This file contains 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