tsnaik / helth-bot

MIT License
3 stars 3 forks source link

support deleting a check-in #16

Closed tsnaik closed 2 years ago

tsnaik commented 2 years ago

people will inevitable click /helthtoday sent by other people and that will cause their entry to be added for no good reason.

when we had hastebin bot, everyone kept clicking the command in someone's text for some reason.

so, we need a command to undo or delete a check-in

pradhan1234 commented 2 years ago

I like this idea, but this would move the onus of removing such dummy updates on the user How about we have additional filtering captured in the stat computation logic? We could also have the bot respond to such dummy ping, with appropriate prompt something like "dummy ping detected, wont be computed towards your update"

tsnaik commented 2 years ago

I don't see a way to differentiate.

pradhan1234 commented 2 years ago

I was thinking something along these lines

Dummy Ping from clicking the command in someone's text

/helthtoday

Actual ping that contains update

/helthtoday
Activity 1
Activty 2
tsnaik commented 2 years ago

marking resolved. as we are going with something like /helth today to avoid false positive. Which will be tracked in #18