You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 torequest.post({ url: 'url above' + this.token, json: args })
meaning thejson: true, args: args
changed tojson: 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.
The text was updated successfully, but these errors were encountered: