forked from hubotio/hubot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.coffee
22 lines (20 loc) · 1.15 KB
/
index.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
User = require './src/user'
Brain = require './src/brain'
Robot = require './src/robot'
Adapter = require './src/adapter'
Response = require './src/response'
{Listener,TextListener} = require './src/listener'
{TextMessage,EnterMessage,LeaveMessage,CatchAllMessage} = require './src/message'
module.exports.loadBot = (adapterPath, adapterName, enableHttpd, botName) ->
new Robot adapterPath, adapterName, enableHttpd, botName
module.exports.User = User
module.exports.Brain = Brain
module.exports.Robot = Robot
module.exports.Adapter = Adapter
module.exports.Response = Response
module.exports.Listener = Listener
module.exports.TextListener = TextListener
module.exports.TextMessage = TextMessage
module.exports.EnterMessage = EnterMessage
module.exports.LeaveMessage = LeaveMessage
module.exports.CatchAllMessage = CatchAllMessage