rit-sse / hubot

Our slack hubot
0 stars 0 forks source link

"Set the record straight" #8

Open djrenren opened 8 years ago

djrenren commented 8 years ago

hubot prints out the edit history of the quoted message:

John:

I love puppies (edited)

Kristen:

> I love puppies
hubot set the record straight

hubot:

At 12:30pm John Renner said:
> Ban fun in the lab

At 12:31pm John Renner edited the message to say:
> I love puppies
weswigham commented 8 years ago

It knows

kristenmills commented 8 years ago

The slack API provides no way to access the history of a message. Since we're updating the adapter, we can watch and store a history ourselves but I will be putting an upper limit on how many messages back we go per channel.