Post
Topic
Board Reputation
Re: [new topic] LoyceV's notification bot
by
LoyceV
on 19/12/2021, 19:19:57 UTC
- How does it notice your name? Should the name be written exactly as it is (e.g. LoyceV)? Or does it detect only if it's written with a "2" in front of the name (e.g. @LoyceV)?
I ignore most characters, but a "2" (so 2LoyceV) wouldn't be ignored. If you use @LoyceV, that works fine. Lower case works fine too.
To be precise, I use grep --word-grep:
Code:
   --word-regexp
       Select only those lines containing matches that form whole words.
       The test is that the matching substring must either be at the beginning of
       the line, or preceded by a non-word constituent character. Similarly, it
       must be either at the end of the line or followed by a non-word constituent
       character. Word-constituent characters are letters, digits, and the underscore.

- Can it show the mentions of your name before moment of starting using it?
Yes:
Only notifications from the past 7 days are shown. Older notifications will be removed.
If you've just subscribed, you'll still get notifications from the past 7 days (retroactive). Changes in your settings also affect older notifications.

I am asking this because I'm curious to see my earlier mentions, in case I missed any of them.
For performance reasons, I remove all files older than 7 days my notification bot.

Quote
- Can the bot be stopped to show your mentions, once you registered to it?
Yes. If you remove your post, updates stop within an hour. If you want me to remove the file, I can do that manually.