dvmlls / slakka-bot

Slack chat bot built with akka.
5 stars 2 forks source link

ignore old messages #44

Open dvmlls opened 8 years ago

dvmlls commented 8 years ago

slack sends a couple old messages when starting up - should ignore them

how?

if i know the timestamp when i start up, then i can ignore messages with older timestamps

proposal: before i consider that i'm connected, send myself an IM then pass the timestamp of the reply back to clients