Skip to content

Current program does not work #11

Description

@morenoh149

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions