Pages:
Author

Topic: [Beta] @mention notification bot open for testing - now with Telegram - page 18. (Read 37669 times)

legendary
Activity: 3696
Merit: 4343
The hacker spirit breaks any spell
well done mate
this tool is very useful and telegram maggiordomo top bot Smiley

how much cost the vps?
hero member
Activity: 784
Merit: 1416
I made some of the changes discussed above, this below is some example of what trigger the notifications at and what doesn't:

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)
hero member
Activity: 784
Merit: 1416
stats of usage of bot?
i think is useful

if you have spare time is interesting to see
- number of parsed message
- number of mentions
- number of telegram messages

@Piggy

Yes i can add something like that in the second post of this thread where all the users are listed. At the moment i'm not counting anything in particular unfortunately.

At the moment i'm looking for a pattern " @username/alias " or " username/alias " with space in the begin and in the end, i can change it easily to space or ", " (comma + space) in the end.
That that mean a username followed by a "dot" or anything else than a comma gets ignored? Like when I ask this question @Piggy?


Yes, at the moment the username need to be included between spaces to trigger the notification, this was done to work in a general way as "?" "." and "," can be included in the username so Piggy and Piggy? could actually be two different users, but as i was saying before the chances of this happening are quite small.

I will add some special cases for the end characters like "?" "." and "," so cases where somebody writes (also without @): @user? or @user. " or @user, would still notify user
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
At the moment i'm looking for a pattern " @username/alias " or " username/alias " with space in the begin and in the end, i can change it easily to space or ", " (comma + space) in the end.
That that mean a username followed by a "dot" or anything else than a comma gets ignored? Like when I ask this question @Piggy?
legendary
Activity: 3696
Merit: 4343
The hacker spirit breaks any spell
stats of usage of bot?
i think is useful

if you have spare time is interesting to see
- number of parsed message
- number of mentions
- number of telegram messages

@Piggy
hero member
Activity: 784
Merit: 1416
At the moment i'm looking for a pattern " @username/alias " or " username/alias " with space in the begin and in the end, i can change it easily to space or ", " (comma + space) in the end.

I have just to make sure there are no cases where can cause some misbehaviour, because the comma can be part of they username as well or pheraps not anymore? I see there are usernames that have it.

On the other end i cannot think of a case where there would be two users registered where one has the username "user" and the other has "user," other than for trolling somebody Smiley

legendary
Activity: 1484
Merit: 1491
I forgot more than you will ever know.
In any case i may look into this as well since many people put a comma right after the name.
How about a check for if removing the first/last character of the string will result in the alias?
Make it 3.

example:

This fucking actmyname...
copper member
Activity: 2562
Merit: 2510
Spear the bees
In any case i may look into this as well since many people put a comma right after the name.
How about a check for if removing the first/last character of the string will result in the alias?
hero member
Activity: 784
Merit: 1416
@asche is receiving his notifications just on telegram so you cannot see them, but he should be receiving them.

At the moment there no options to notify all the people at once ( you need to name each of them) or to filter out mentions from certain people.

You can find the instructions to set up telegram in the first post of this thread if needed.

I can't seem to have both notifications as I thought would be possible from your instructions.

Is this on purpose or a bug?

I deactivated that option and forgot to mention it, now simply try first to send the notification through telegram, if succeed, it doesn't send the notification in the thread to avoid redundancy.

@piggy When I put another alias it replaces the older one.
It's not possible to get several aliases? like saintloup, saint_loup and saint loup ?
Thank you



PS : The bot doesn't seem to manage punctuation like commas correctly
I didn't get notification for this post

@Saint-Loup,

Oui l'ICO a été notée sur ICOBench par exemple avec une note de 4.8/5

https://icobench.com/ico/bidooh

This is something i can look into it. Anyway at the moment you can use just one alias and will work unless it collides with the username of another user registered with the bot.

To be sure to receive a notification the mention need to be between two empty spaces because in here you are allowed to have many strange characters in the usernames, it may be the comma is allowed as well, so to make things easier i decided to go that way (and also for performance reason without entering into roo much detail s).

In any case i may look into this as well since many people put a comma right after the name.
legendary
Activity: 2604
Merit: 2353
@piggy When I put another alias it replaces the older one.
It's not possible to get several aliases? like saintloup, saint_loup and saint loup ?
Thank you



PS : The bot doesn't seem to manage punctuation like commas correctly
I didn't get notification for this post

@Saint-Loup,

Oui l'ICO a été notée sur ICOBench par exemple avec une note de 4.8/5

https://icobench.com/ico/bidooh
legendary
Activity: 1484
Merit: 1491
I forgot more than you will ever know.
@asche is receiving his notifications just on telegram so you cannot see them, but he should be receiving them.

At the moment there no options to notify all the people at once ( you need to name each of them) or to filter out mentions from certain people.

You can find the instructions to set up telegram in the first post of this thread if needed.

I can't seem to have both notifications as I thought would be possible from your instructions.

Is this on purpose or a bug?
hero member
Activity: 784
Merit: 1416
@asche is receiving his notifications just on telegram so you cannot see them, but he should be receiving them.

At the moment there no options to notify all the people at once ( you need to name each of them) or to filter out mentions from certain people.

You can find the instructions to set up telegram in the first post of this thread if needed.
legendary
Activity: 2604
Merit: 2353
Thank you Piggy for your useful work. And thank you @asche (again) for the translation.

Welcome. Smiley

If anyone sees any problem, please report it in here.
prego
Ok it doesn't work for @asche while it's working for others.
BTW is there a feature to notif all subscribers to il maggiordomo? like @all or something else?
I guess we receive notifications from users even if they are in our bitcointalk ignore list... so is there a feature for blocking notification of someone in particular?

PS: BTW I read @asche has changed some options like enabling telegram notification
hero member
Activity: 784
Merit: 1416
Thank you Piggy for your useful work. And thank you @asche (again) for the translation.

Welcome. Smiley

If anyone sees any problem, please report it in here.
legendary
Activity: 2604
Merit: 2353
Thank you Piggy for your useful work. And thank you @asche (again) for the translation.
legendary
Activity: 1484
Merit: 1491
I forgot more than you will ever know.
Unless the message was edited and the mention added later, should havse picked it up indeed, it seems a pretty straight case.
There may have been even some timeout internally and the message slipped away by the time everything went back to normal, there may be some clue in the log file.
I'll look into it @asche


Sure Smiley No issue to me, just thought you might want to have a look at it for further debugging/enhancement Smiley
hero member
Activity: 784
Merit: 1416
Unless the message was edited and the mention added later, should havse picked it up indeed, it seems a pretty straight case.
There may have been even some timeout internally and the message slipped away by the time everything went back to normal, there may be some clue in the log file.
I'll look into it @asche
legendary
Activity: 1484
Merit: 1491
I forgot more than you will ever know.
About the testing, it seems like your bot missed this post:

https://bitcointalksearch.org/topic/m.47291273

Any clue @piggy?

Thank you Smiley
legendary
Activity: 1484
Merit: 1491
I forgot more than you will ever know.
@piggy

Thank you Smiley

FYI when I wrote to the bot, he detected my username had a space in it which it doesn't, maybe some logic issue in the code? Smiley

I'll also give 1 merit to your bot account so that it eventually becomes member Smiley

Thanks.

I just checked now, it picked up your telegram message so you should receive this.

It did indeed Smiley
hero member
Activity: 784
Merit: 1416
@piggy

Thank you Smiley

FYI when I wrote to the bot, he detected my username had a space in it which it doesn't, maybe some logic issue in the code? Smiley

I'll also give 1 merit to your bot account so that it eventually becomes member Smiley

Thanks.

I just checked now, it picked up your telegram message so you should receive this.
Pages:
Jump to: