Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!tell plugin #7

Open
edunham opened this issue Apr 7, 2015 · 3 comments
Open

!tell plugin #7

edunham opened this issue Apr 7, 2015 · 3 comments

Comments

@edunham
Copy link
Member

edunham commented Apr 7, 2015

moved from hamperbot/hamper#95

14:04:06 -!- vanrysss [[email protected]] has joined #osu-lug
14:11:22 < vanrysss> anyone know how to keep limechat from opening images?
15:04:08 -!- vanrysss [[email protected]] has quit [Quit: Leaving...]
15:20:51 < ekem> .tell vanrysss its in the log tab of the settings
15:20:57 < ekem> !tell vanrysss its in the log tab of the settings
15:20:59 < ekem> fine.

Do we want !tell functionality? If so, let's make it as non-spammy as possible:

  • Private message the person next time they're seen in channel
  • Assume it's the same person if they have a nick which differs only by punctuation (so vanryss ~= vanryss_ ~= vanr1ss)
  • If they're absent more than a given time since being told, the PM should include what they asked, ie
Hamper: When you were last in <room>, on <date>, you said <last thing they said>
Hamper: After you left, <nick> asked me to tell you <message> when you got back.
@justinnoah
Copy link
Member

That'd be a fun plugin to write. A small Levenshtein distance on lower case nicks would probably do the trick. One concern, hamper would need to keep track of the last thing said by everyone in all channels, that could add up to quite a number of rows quickly which is an issue for the free Heroku tier being used for hamper currently.

@justinnoah
Copy link
Member

Unless !tell works on a short log instead of all time, then a single row per channel could be used possibly.

@mythmon
Copy link
Contributor

mythmon commented Apr 24, 2015

Hamper is already keeping track of the last... 20? messages per channel. It probably makes sense to also keep track of the last message everyone sent in memory. This probably shouldn't be stored in the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants