Coder Social home page Coder Social logo

slack-hrbot's People

Contributors

harquail avatar patxu avatar timofei7 avatar

Watchers

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

slack-hrbot's Issues

fix message sent to admins

is 12pm on monday still considered the week before? why did it send the report for week 8 instead of 9?

fix the splice operator to get the correct list of people the message was sent to

breaks when contacted by certain users

2017-02-27T16:20:37.179346+00:00 app[web.1]: Received: message danah.han danah.han 1488212436.000009 6 hours
2017-02-27T16:20:37.182712+00:00 app[web.1]: contacted by: danah.han, danah.han, 6 hours
2017-02-27T16:20:37.186233+00:00 app[web.1]: Error while fetching users: TypeError: Cannot read property 'isBefore' of undefined

this line?: https://github.com/dali-lab/slack-hrbot/blob/master/web.js#L348

@timofei7 any help on this one? looks like it's related to the mongo db. it's happened to jessie and danah. maybe this is first contact so they're not in the db yet? i slacked them asking for details of what happened.

removed sending qr codes

qr codes aren't sending to most people so i'm cancelling these for now

image

this is the scheduler we were using before, if we ever want to add it back

show hours when no hours

using the show hours command when the user is not in the 16s spreadsheet (i.e. hasn't put in hours this term) fails

breaks when sending hours request to bots

2017-02-26T16:02:25.207714+00:00 app[web.1]: getting id for mr-tron: U1LCEURT2
2017-02-26T16:02:25.299070+00:00 app[web.1]: /app/web.js:169
2017-02-26T16:02:25.299074+00:00 app[web.1]:                ^
2017-02-26T16:02:25.299073+00:00 app[web.1]:         channel.send(msg);
2017-02-26T16:02:25.299076+00:00 app[web.1]: TypeError: Cannot read property 'send' of undefined
2017-02-26T16:02:25.299075+00:00 app[web.1]:
2017-02-26T16:02:25.299077+00:00 app[web.1]:     at /app/web.js:169:16
2017-02-26T16:02:25.299078+00:00 app[web.1]:     at IncomingMessage.<anonymous> (/app/node_modules/slack-client/src/client.js:689:22)
2017-02-26T16:02:25.299077+00:00 app[web.1]:     at /app/node_modules/slack-client/src/client.js:228:58
2017-02-26T16:02:25.299084+00:00 app[web.1]:     at emitNone (events.js:91:20)
2017-02-26T16:02:25.299085+00:00 app[web.1]:     at IncomingMessage.emit (events.js:185:7)
2017-02-26T16:02:25.299085+00:00 app[web.1]:     at endReadableNT (_stream_readable.js:974:12)
2017-02-26T16:02:25.299086+00:00 app[web.1]:     at _combinedTickCallback (internal/process/next_tick.js:74:11)
2017-02-26T16:02:25.299087+00:00 app[web.1]:     at process._tickCallback (internal/process/next_tick.js:98:9)

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.