Post
Topic
Board Meta
Merits 357 from 91 users
[RELEASED] @mention notification bot - now with Telegram
by
Piggy
on 07/09/2018, 09:13:28 UTC
⭐ Merited by suchmoon (50) ,dbshck (22) ,Vod (21) ,fillippone (12) ,TheFuzzStone (11) ,LoyceV (10) ,redsn0w (10) ,Micio (10) ,Welsh (10) ,xandry (10) ,MaoChao (10) ,sapta (10) ,joniboini (10) ,malevolent (7) ,BitCryptex (6) ,hugeblack (6) ,mprep (5) ,actmyname (5) ,yxt (5) ,poptok1 (5) ,squatz1 (5) ,ezeminer (5) ,Mitchell (5) ,SyGambler (5) ,aundroid (5) ,Tytanowy Janusz (4) ,Blacknavy (4) ,coinlocket$ (3) ,Halab (3) ,Paolo.Demidov (3) ,pa1nxgod (3) ,ICOEthics (3) ,tyz (3) ,bitbollo (3) ,IeSua (3)
STATUS: Up

A list of subscribed users accepting notification will be kept updated automatically in this post: https://bitcointalk.org/index.php?topic=5023605.msg45324744#msg45324744



Short version:
You can try the new notification system,  based on your preference below set up where you want to be notified. After the registration you will receive a message confirming you are signed up and some basic information.



I want to be notified through PM in the forum:
Send a pm to Maggiordomo by placing in the subject subscribe with something in the body just to be able to send it or, if you want to change the frequency which you will receive the PM notifications you can send this command with a number between 0 and 720, this indicates the delay in minutes which will occur from the first notification before it will be delivered. Is 0 for new people subscribing which, means it will be instant:

Code:
notificationinterval:2



I want to be notified through Telegram:
Important:
Before or after you have registered you need to contact @Maggiordomo_Service_bot on telegram (with the same telegram username used for registering) and just write something to him so he can bind your telegram and forum account togheter.

Send a pm to Maggiordomo by placing in the subject subscribe with in the body:

Code:
telegram:yourTelegramUsername (doesn't matter if with @ or without)



When somebody will type @yourUsername or yourUsername you will get a notification.

You can either get notified through PM or Telegram, never both

Read the commands section to know what else you can do.



What trigger a notification (the " are just there tho show the empty spaces around it):
Quote
" @user "
Quote
" @user* "
where * is any character, this should fix all the missing notifications where "," "." "?" or anything else is used right after the username.

If @user is in the begin or end of the message will just require an empty space onn the opposite side, all these combinations below works (and also the variant with a random character in the end *):

Quote
"@user hello how are you?"
Quote
"hello you are @user"  
Quote
"hello @user
how are you?"

Working example:

@asche! @actmyname? @Loyce( test ) @babo.

This won't work:

@Halab?, @TomCrypto... @Piggy(test)

Now should work the notification also for all those cases where the names are between tags like these, there can even be some space before or after the username:

Code:
[url=https://bitcointalk.org/index.php?action=profile;u=459836] username [/url]

[b] username[/b]
[i]username [/i]
...

Loyce

TryNinja

BitCryptex



Long version:
I have been working and experimenting with a bot i coded which will ultimately could help to extend the functionality of the forum and provide public services, to start, one of the primary aim is to notify users about somebody mentioning them, using the known @username notation.
This part is almost completed and usable, even though is not well tested yet. I had few users in the Italian section using it and i was able to collect some feedback and fix some of the emerging issues.

Now i would need more people to use it and see if everything holds and what needs to be changed/fixed in order for it to work better.

How the notification works:
Once you are properly set up with the bot and somebody include in his message @YourUsername or YourUsername[/li][/list] you will be notified by the user Maggiordomo, receiving one or more links/short quote to the post where you were mentioned.

These notification are going to be customizable and an option to turn them on/off will be introduced.

If you are not registered, anybody interacting with you will have no effect.

How to interact with the bot and what you can do:

Commands:
  • To register: send a PM to the user Maggiordomo with the subject: subscribe and anything in the body. You will receive a PM confirming you are signed up and some basic information.
  • To unsubscribe from receiving notification: send a PM to the user Maggiordomo with the subject unsubscribe and something random in the body to be allowed to send it

NEW:
Through a PM while placing in the subject subscribe if you subscribing, or  options if you are already subscribed you can now specify other settings in the body of the message, like this:

Code:
alias:your_alias
tagusername:on
quote:off
plainusername:on
automention:off

in order are:
Alias is another name you can use to get notified when somebody mention it, both with @ or without (based on the settings below)
Tagusername, activates/deactivates notification while being mentioned using @ like @username
Quote, activates/deactivates notification while being quoted
Plainusername,  activates/deactivates notification while your username is being mentioned (without using the @)
Automention,  activates/deactivates notification while your username or alias is being mentioned by you

If none of these options are specified the alias is disabled and the notifications are all on by default.

You can have an alias set and you will get a notification based on your preferences, if there is no other user already registered having that username. Otherwise you won't be notified.

NEW
Telegram notification added

Important:
Before or after you have registered you need to contact @Maggiordomo_Service_bot on telegram (with the same telegram username used for registering) and just write something to him so he can bind your telegram and forum account togheter.

For who is already registered just send a pm with options in the subject of the bot and add in the body:

Code:
telegram:yourTelegramUsername (doesn't matter if with @ or without)

If you are not subscribed yet send a pm with subscribe in the subject to the bot and add in the body:
Code:
telegram:yourTelegramUsername (doesn't matter if with @ or without)

Notes:
If you quote a message with @SomeUsername this won’t trigger a notification to that user.
You can send multiple notification with the same message: @user1 @user2 @user3 ...

Keep in mind the bot use a jr member account, which has a cooldown limitation between one post and the other, about ~8 seconds, so don’t expect to receive your notification instantly, but if you have more than one notification pending they will be delivered all at once.

Uses:
  • to save a thread or comment you want to get back to
  • signal a post which should me merited (not your own possibly)
  • bring somebody attention to a thread for whatever reason

Disclaimer:
It could happen that while the bot is off you will miss some of your notifications, you will have to wait some time to receive them or for some malfunction you won't receive them at all.

I will try to leave a notice in top of this thread if the bot goes down.

You can report any problem, issue or feedback in here.