xoxco/node-slack — pull request #4 by muddydixon (2014-07-03 08:29:55+00:00)
Title: Enable proxy and promise

I modified two points:

1. enable proxy via config
```javascript
var slack = new Slack("", "", {proxy: ""})
```
or use environment variable `https_proxy` or `http_proxy`.
2. enable promise
```javascript
var slack = new Slack("", "", {proxy: ""})
slack.send({channel: "#test", text: "msg", username: "muddydixon"})
.then(function(obj){
console.log(obj); // obj contain res and body by request
});
```