tiny icon indicating copy to clipboard operation
tiny copied to clipboard

Watch list for nicks/words

Open osa1 opened this issue 7 years ago • 3 comments

It'd be great if I could get a notification when a nick appears in one of the channels I'm participating in or a word is used in one of the channels. Useful when waiting for someone to be online.

osa1 avatar Sep 13 '18 10:09 osa1

I really need this!

osa1 avatar Oct 02 '18 06:10 osa1

How do you think they trigger something like this?

I was thinking something like this:

/watch nick <nick>
/watch phrase <word>

we might also have to come up with some way so that we can unwatch them as well.

and maybe in config file as well for each channel, not sure how best to go about that though

meain avatar Oct 06 '18 13:10 meain

Why not just /watch <word>? I think it's fine to treat nicks and words as one. For example, if I do /watch foo then I get notifications for these:

  • foo sent a message
  • foo joined/left
  • foo is mentioned in a message

I think this would work, and is simpler.

We need to think about how to add new words, and how detailed we want to be about what tabs to check for the words. I think this is one of the features that definitely wants its own section in the config file.

In general I think we have a problem with settings. Currently we have a few features (/notify and /ignore) that can be used via commands, but can't be set in the config file. This will be another such command. Perhaps we should first invest some time into this and come up with a design that allows easily adding config file sections for settings.

Unfortunately I'm too busy at work these days and can't spend any time on tiny, so if this is going to happen then it'll have to be done by someone else... However I'm happy to give feedback and merge PRs if anyone wants to come up with a proposal (sorry for blocking #109 for too long.. hopefully I'll merge it tomorrow).

osa1 avatar Oct 06 '18 16:10 osa1