Coder Social home page Coder Social logo

pony-standup-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pony-standup-bot's Issues

Add support for Discord

Discord is Slack alternative, based on same principles.

Would be great if Pony could live in that environment.

Add graceful shutdown

So that upon restart (to pick up the new config), Pony flushes db from memory to disk.

Exception when sending summaries

2018-07-31 19:01:02,533 Building report summary for sales
2018-07-31 19:01:02,585 Problem in job run: <class 'pony.jobs.WorldTick'>
Traceback (most recent call last):
  File "/var/www/pony/venv/local/lib/python2.7/site-packages/rtmbot/core.py", line 234, in do_jobs
    job_output = job.run(self.slack_client)
  File "/var/www/pony/repo/pony/jobs.py", line 17, in run
    task.execute(bot=self.bot, slack=slack)
  File "/var/www/pony/repo/pony/tasks.py", line 154, in execute
    'thumb_url': self.get_user_avatar(slack, user_id),
  File "/var/www/pony/repo/pony/tasks.py", line 91, in get_user_avatar
    self.user_profiles = slack.api_call('users.list')['members']
KeyError: 'members'
2018-07-31 19:01:03,096 Building report summary for operations
2018-07-31 19:01:03,355 Problem in job run: <class 'pony.jobs.WorldTick'>
Traceback (most recent call last):
  File "/var/www/pony/venv/local/lib/python2.7/site-packages/rtmbot/core.py", line 234, in do_jobs
    job_output = job.run(self.slack_client)
  File "/var/www/pony/repo/pony/jobs.py", line 17, in run
    task.execute(bot=self.bot, slack=slack)
  File "/var/www/pony/repo/pony/tasks.py", line 154, in execute
    'thumb_url': self.get_user_avatar(slack, user_id),
  File "/var/www/pony/repo/pony/tasks.py", line 91, in get_user_avatar
    self.user_profiles = slack.api_call('users.list')['members']
KeyError: 'members'

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.