Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current program does not work #11

Open
morenoh149 opened this issue Oct 4, 2014 · 0 comments
Open

Current program does not work #11

morenoh149 opened this issue Oct 4, 2014 · 0 comments

Comments

@morenoh149
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant