hubot-standup-alarm icon indicating copy to clipboard operation
hubot-standup-alarm copied to clipboard

Script saves the standup, but sends no notification on Flowdock

Open shanazar opened this issue 9 years ago • 3 comments

My hubot("doge") works and responds to such commands as help and create standup and it acrually creates standups(but the room is "undefined", maybe that could be the thing?). But when the actual standup time comes there aren't any notifications. I have no idea where the error could be, but I haven't modified it in any way and all the dependencies are there. My guess is the error could be in either room function or standupShouldFire function. screenshot 2016-02-23 21 34 59

shanazar avatar Feb 23 '16 19:02 shanazar

I love that your Hubot is named Doge 🐶

It's almost definitely because the room is undefined. The way the alarm works is by calling robot.messageRoom(roomName, messageToSend), so if the room name is undefined, it won't work.

Unfortunately I don't have Flowdock to test this, because my organisation has moved to Slack. However, we used to use this with Flowdock, so I know it worked in the past. I wonder if Flowdock has changed their Hubot connector?

Either way, it should be easily fixable by changing the findRoom function to retrieve it from whichever data structure Flowdock is using. Would you be able to find this out?

shaundon avatar Feb 24 '16 08:02 shaundon

Can't find any documentation on how to retrieve a room ID on flowdock :/. This involves some integration wth Flowdock API which is confusing.

shanazar avatar Mar 13 '16 16:03 shanazar

I'm not seeing this issue now.

I'm doing

Hubot create standup 10:15

And then

Hubot list all standups

and I get

Here's the standups for every room:
Room: <a big GUID hash>, Time: 10:15

@shanazar Can you confirm if this is still happening?

hoylemd avatar Oct 20 '16 19:10 hoylemd