Git Product home page Git Product logo

slackmultiteam's People

Contributors

dylwylie avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sfbrigade

slackmultiteam's Issues

Don't be lazy use RTC API

Hacked together Slack's web API rather than use their RTC one. Probably should change this at some point.

Launcher

Some frontendy thing to launch and manage bots would be cool

On/Off switch

Allow users to choose whether or not their message is shared. Something like 'secret:'?

Restart on 104?

Got the below exception, did Slack go down or just get pissed at us for pinging them so often? Either way should catch the error and restart the service.

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "run.py", line 22, in run
self.ListenerObject.runListener(messageHandler=self.callback)
File "/home/dylan/SlackIRC/SlackBot.py", line 56, in runListener
r = self.call('channels.history',arguments)
File "/home/dylan/SlackIRC/SlackBot.py", line 22, in call
return requests.get(URL)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 378, in send
raise ConnectionError(e)
ConnectionError: HTTPSConnectionPool(host='slack.com', port=443): Max retries exceeded with url: /api/channels.history?token=REDACTED&channelREDACTEDJ&inclusive=0&oldest=1427847109.24 (Caused by <class 'socket.error'>: [Errno 104] Connection reset by peer)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.