mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-15 02:18:58 +08:00
* Add logger on context.log * Update robot.log instances in docs * Add more event context
8 lines
146 B
JavaScript
8 lines
146 B
JavaScript
module.exports = robot => {
|
|
robot.log('loaded app')
|
|
|
|
robot.on('issue_comment.created', context => {
|
|
context.log('Comment created')
|
|
})
|
|
}
|