slack-help

Need help navigating this Slack? You're in the right place!
dpsutton 2016-09-05T18:07:39.000029Z

@eslachance I made this https://github.com/dpsutton/slackmusic based on this https://github.com/verma/clj-slackbot

dpsutton 2016-09-05T18:08:09.000031Z

It is basically just a websockets spinning and listening. You make your own handlers and define what you care about and it does the rest

dpsutton 2016-09-05T18:08:25.000032Z

There's tons of room for improvement and making it cleaner

eslachance 2016-09-05T18:08:33.000033Z

Ooooh that is precisely what I was looking for ^_^

dpsutton 2016-09-05T18:08:38.000034Z

Verma's version allows for websockets or webserver

dpsutton 2016-09-05T18:08:48.000035Z

Mine is only websockets and has a keep alive ping which is necessary

eslachance 2016-09-05T18:12:29.000037Z

I shall go from both. I needed to understand sockets and events in the context of clojure.

dpsutton 2016-09-05T18:13:54.000038Z

no real sockets you need to understand

dpsutton 2016-09-05T18:14:08.000039Z

it opens up and listens, and when something comes in, dumps it on the input channel

dpsutton 2016-09-05T18:14:14.000040Z

and you dump your output on the output channel

dpsutton 2016-09-05T18:15:31.000041Z

it doesn't use events, just a simple go-loop listening on 1) input from channel, and if you can-handle?, it dumps it on the input channel to your mechanism and 2) output from your channel of what you do with it

eslachance 2016-09-05T18:28:37.000043Z

I kinda sorta want to make my own library for Discord so I need to understand how to implement a few things.