slack-irc-plugin icon indicating copy to clipboard operation
slack-irc-plugin copied to clipboard

Current program does not work

Open morenoh149 opened this issue 10 years ago • 0 comments

Hello. Thank you for this wonderful little module. I have been able to successfully mirror discussion on an irc channel in my organization's slack. However I had to dig deep and rewrite some of the code. mainly in slacker.js The biggest issue is that the url has a different syntax https://organization-name.slack.com/services/hooks/incoming-webhook?token=mytoken I also had to change the post call to request.post({ url: 'url above' + this.token, json: args }) meaning the json: true, args: args changed to json: args. I found this out after reading the https://github.com/mikeal/request docs. I can submit a pull request if this seems to be the proper way to change things.

Also would be cool to add https://github.com/nodejitsu/forever so we can run this indefinitely on a server.

morenoh149 avatar Oct 04 '14 07:10 morenoh149