-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.coffee
42 lines (35 loc) · 1.23 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
LineAdapter = require './src/line'
{LineRawMessage, LineImageMessage, LineVideoMessage, LineAudioMessage, LineLocationMessage, LineStickerMessage, LineContactMessage, LineRawOperation, LineFriendOperation, LineBlockOperation} = require './src/message'
{LineRawMessageListener, LineImageListener, LineVideoListener, LineAudioListener, LineLocationListener, LineStickerListener, LineContactListener, LineRawOperationListener, LineFriendListener, LineBlockListener} = require './src/listener'
{LineTextAction, LineImageAction, LineVideoAction, LineAudioAction, LineLocationAction, LineStickerAction} = require './src/action'
module.exports = exports = {
LineAdapter
LineRawMessage
LineImageMessage
LineVideoMessage
LineAudioMessage
LineLocationMessage
LineStickerMessage
LineContactMessage
LineRawOperation
LineFriendOperation
LineBlockOperation
LineRawMessageListener
LineImageListener
LineVideoListener
LineAudioListener
LineLocationListener
LineStickerListener
LineContactListener
LineRawOperationListener
LineFriendListener
LineBlockListener
LineTextAction
LineImageAction
LineVideoAction
LineAudioAction
LineLocationAction
LineStickerAction
}
exports.use = (robot) ->
new LineAdapter robot