Bitcoin Forum
August 30, 2024, 08:07:41 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 »  All
  Print  
Author Topic: [RELEASED] @mention notification bot - now with Telegram  (Read 37666 times)
asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 26, 2018, 09:20:46 AM
 #101

@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
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 26, 2018, 09:31:43 AM
 #102

@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.
asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 26, 2018, 09:32:34 AM
 #103

@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
asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 26, 2018, 02:36:40 PM
 #104

About the testing, it seems like your bot missed this post:

https://bitcointalk.org/index.php?topic=5057612.msg47291273#msg47291273

Any clue @piggy?

Thank you Smiley
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 26, 2018, 03:35:16 PM
 #105

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
asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 26, 2018, 03:36:08 PM
 #106

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
Saint-loup
Legendary
*
Offline Offline

Activity: 2716
Merit: 2410



View Profile
October 26, 2018, 06:31:16 PM
 #107

Thank you Piggy for your useful work. And thank you @asche (again) for the translation.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 26, 2018, 06:42:23 PM
 #108

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.
Saint-loup
Legendary
*
Offline Offline

Activity: 2716
Merit: 2410



View Profile
October 26, 2018, 06:59:41 PM
Last edit: October 26, 2018, 07:22:44 PM by Saint-loup
 #109

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

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 26, 2018, 07:59:10 PM
 #110

@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.
asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 27, 2018, 02:41:10 PM
 #111

@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?
Saint-loup
Legendary
*
Offline Offline

Activity: 2716
Merit: 2410



View Profile
October 27, 2018, 03:11:47 PM
Last edit: October 27, 2018, 04:06:52 PM by Saint-loup
 #112

@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

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 27, 2018, 05:27:10 PM
 #113

@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.
actmyname
Copper Member
Legendary
*
Offline Offline

Activity: 2562
Merit: 2510


Spear the bees


View Profile WWW
October 28, 2018, 10:02:36 AM
 #114

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?

asche
Legendary
*
Offline Offline

Activity: 1484
Merit: 1491


I forgot more than you will ever know.


View Profile
October 28, 2018, 10:58:46 AM
 #115

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...
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 28, 2018, 12:34:22 PM
 #116

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

babo
Legendary
*
Offline Offline

Activity: 3710
Merit: 4358


tupi tupi tapa tapa ciupi ciupi ciapa ciapa


View Profile WWW
October 29, 2018, 09:23:24 AM
 #117

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

LoyceV
Legendary
*
Offline Offline

Activity: 3416
Merit: 17301


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 29, 2018, 10:06:14 AM
 #118

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?

Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 29, 2018, 10:56:33 AM
 #119

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
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



View Profile WWW
October 30, 2018, 06:13:56 AM
 #120

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)
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!