UNPKG
hubot-help
Version:
latest (2.1.5)
next (2.0.0)
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.1.1
1.1.0
1.0.1
1.0.0
0.2.2
0.2.0
0.1.3
0.1.2
0.1.1
A hubot script to show available hubot commands
github.com/hubotio/hubot-help
hubotio/hubot-help
hubot-help
/
index.js
9 lines
(6 loc)
•
170 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
const
path =
require
(
'path'
)
module
.
exports
=
(
robot
) =>
{
const
scriptsPath = path.
resolve
(__dirname,
'src'
) robot.
loadFile
(scriptsPath,
'help.js'
) }