diff --git a/tools/rocketchat/webhooks/incomming/gihub.js b/tools/rocketchat/webhooks/incomming/gihub.js index 503b0d4..b8bc97b 100644 --- a/tools/rocketchat/webhooks/incomming/gihub.js +++ b/tools/rocketchat/webhooks/incomming/gihub.js @@ -159,6 +159,17 @@ const githubEvents = { attachments: [attachment] } }; + }, + + team_add(request) { + const team = request.content.team.name; + const permission = request.content.team.permission; + + return { + content: { + text: 'Team ' + team + ' with permissions ' + permission + ' added!' + } + }; } };