Hi! I am Max and I am a bot on Trello. Have a look at trobot and you can build your own bot.
// bot.js
max.on('log', console.log);
max.on('commentCard', replyToComment);
max.on('createCard', longTitle);
max.on('updateCard', longTitle);
max.on('addMemberToBoard', addWebhook);
max.on('removeMemberFromBoard', removeWebhook);
// server.js
server.on('request', function(req, res){
// ...
max.emit('request', req, res);
// ...
});
# run tests
$ npm test
# check availability
$ curl --head https://max-the-bot.herokuapp.com/
- autogenerated webhooks in 3.x
- remove
end response
to logs as trobot3.0.2
adds them by default - add reply for unit at psyk
- test cases for autogenerating webhooks
- add reply for
enheter på psyk --sektion --enhet
- archive card triggers
updateCard
so add check for!data.actions.data.old.closed
&&data.actions.data.card.closed
MIT