Pages:
Author

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

hero member
Activity: 784
Merit: 1416
We are up again for another round of testing. I made changes and fixes based on the past feedback.

I need still to code some way to allow some changes on what should trigger the notifications and the link of the thread where you get notified. So that if somebody want just to receive them when is explicitly mentioned in a certain way can do so. This will happen through PM, with something like this in the body:

Code:
link
tagusername:on/off
quote:on/off
plainusername:on/off

I'm looking into adding one alias as well which will work just if is not overlapping with the main username of a registered user already and maybe if it's not too different from the original username.

For the moment i will leave the bot up to check if anything else is coming up to be fixed.
Next step if everything goes well is to look into a more permanent way to let it run, probably a raspberry pi will do.
hero member
Activity: 784
Merit: 1416
~
You got it wrong. The thread you should send to the bot is a thread where he will post every time you get mentioned.

- I create a thread called "Mentions to TryNinja" and link it to the bot.
- Every time someone says @TryNinja, the bot quotes the post in the "Mentions to TryNinja" thread.

The bot already checks the whole forum by reading every new post created (which are shown in the "recent posts" page).

For example, here is Loyce's thread: Are you looking for me?

Yes.


The thread you put in the PM during the registration is the one where you receive solely the notifications, i may have not wrote it very clearly, i'll make it more explicit peraphs.
hero member
Activity: 1582
Merit: 759
~
You got it wrong. The thread you should send to the bot is a thread where he will post every time you get mentioned.

- I create a thread called "Mentions to TryNinja" and link it to the bot.
- Every time someone says @TryNinja, the bot quotes the post in the "Mentions to TryNinja" thread.

The bot already checks the whole forum by reading every new post created (which are shown in the "recent posts" page).

For example, here is Loyce's thread: Are you looking for me?

Ahh ok, this makes a lot more sense. I had the impression it would send a PM to you when you're mentioned within a specific thread. Targeted towards Service announcements, thread management, etc.

Sorry about that!
legendary
Activity: 2758
Merit: 6830
~
You got it wrong. The thread you should send to the bot is a thread where he will post every time you get mentioned.

- I create a thread called "Mentions to TryNinja" and link it to the bot.
- Every time someone says @TryNinja, the bot quotes the post in the "Mentions to TryNinja" thread.

The bot already checks the whole forum by reading every new post created (which are shown in the "recent posts" page).

For example, here is Loyce's thread: Are you looking for me?
hero member
Activity: 1582
Merit: 759
yes those are all the recent changes, i'll be marking them with new in the starting post.

Are there plans to open this up to more than just 1 specific thread, or would that overdo it/defeat the purpose?

It's already reading all the messages that gets posted in the forum from here https://bitcointalk.org/index.php?action=recent , or did you mean something else?

Oh, sorry, I was under the impression that it was only mentions within a specific thread that you set. Was wondering if it's possible for it to watch the entire forum looking for @ mentions.

"To register: send a PM to the user Maggiordomo with the subject: subscribe and a link to your thread in the body. You will receive a message in that thread confirming you are signed up and some basic information."

Would I just not include a thread link in the body of the message in order to get all notifications of all threads?
hero member
Activity: 784
Merit: 1416
yes those are all the recent changes, i'll be marking them with new in the starting post.

Are there plans to open this up to more than just 1 specific thread, or would that overdo it/defeat the purpose?

It's already reading all the messages that gets posted in the forum from here https://bitcointalk.org/index.php?action=recent , or did you mean something else?
hero member
Activity: 1582
Merit: 759
yes those are all the recent changes, i'll be marking them with new in the starting post.

Are there plans to open this up to more than just 1 specific thread, or would that overdo it/defeat the purpose?
hero member
Activity: 784
Merit: 1416
yes those are all the recent changes, i'll be marking them with new in the starting post.
legendary
Activity: 2240
Merit: 3150
₿uy / $ell ..oeleo ;(
I haven't followed closely the development til now is this what is implemented:
Notifications >
- if someone mentioned you with @YourUserName
- if someone mentioned you with only YourUserName
- if someone quote your post

At least those notifications I saw til now.

Anything I'm missing here?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Another request:
LoyceV, you have been mentioned quoted in the following messages:

 
hero member
Activity: 784
Merit: 1416
For the alias i need to think about it, it may overlap with the main username of another user and become messy. Perhaps it could be used as long as there is not another user Loyce subscribed. I'll put in the list of things to do and see what i can do.  
To prevent any imposter from claiming "Loyce", I've just registered it myself. And I instantly deleted the password, although it's linked to my Gmail (to prevent anyone else from claiming it if I don't own the email address). I'll never use it, and neither will anybody else.
With this out of the way, could you just change my "LoyceV" to "Loyce"? That should solve the overlap-problem.

Update: I received notification of my own post now.

yes that is intended, you can trigger a notification to yourself, perhaps if you want to save a link to a comment or for whatever reason.
Double notifications may still showing up i see. But I will leave it running for while now and check if any more problems come up.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
For the alias i need to think about it, it may overlap with the main username of another user and become messy. Perhaps it could be used as long as there is not another user Loyce subscribed. I'll put in the list of things to do and see what i can do.  
To prevent any imposter from claiming "Loyce", I've just registered it myself. And I instantly deleted the password, although it's linked to my Gmail (to prevent anyone else from claiming it if I don't own the email address). I'll never use it, and neither will anybody else.
With this out of the way, could you just change my "LoyceV" to "Loyce"? That should solve the overlap-problem.

Update: I received notification of my own post now.
hero member
Activity: 784
Merit: 1416
loycev iasenko
That worked, although I received the notification twice. The quoted dates were different, so I'm not sure if you posted and deleted this first, or your bot doubles it.

Another request: can I have a custom keyword? I'm often referred to as "Loyce".

yes i noticed a duplication of the messages sent as well, sometimes if i see strange things happening i just step in and delete the messages manually. Now there should be no more double notification messages.

For the alias i need to think about it, it may overlap with the main username of another user and become messy. Perhaps it could be used as long as there is not another user Loyce subscribed. I'll put in the list of things to do and see what i can do.   
newbie
Activity: 26
Merit: 0
This forum will be easier to discuss with and you can get update on the discussions which you join with. I hope it could be done right away so that we can enjoy doing conversations more on directing a specified member we want to reply with plus if someone will give a specific reply especially mentioning your name. it could be easily watch upon.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
loycev iasenko
That worked, although I received the notification twice. The quoted dates were different, so I'm not sure if you posted and deleted this first, or your bot doubles it.

Another request: can I have a custom keyword? I'm often referred to as "Loyce".
hero member
Activity: 784
Merit: 1416
This is awesome, great job. Bookmarking for future use.

If you don't mind me asking: What's this coded in? Have you thought about releasing it as open source: throwing it up on Github so others can contribute?

If it's a language I'm familiar w/, I'd definitely try & help out.

If you're wanting to keep it closed source, that's completely understandable though.

I may do it a certain point, the main reason not to is to avoid showing wrong people how to post messages automatically, there is already a lot of spam i would not want to cause more.

I'm using C# and Visual Studio

The 2 new ways to trigger notifications are now ready to be tested and you may start to get some

Quote
How the notification works:
Once you are properly set up with the bot and somebody include in his message:
  • @YourUsername or @Your=Username in case you have spaces in your username (the = can be changed later on if there is any better character not allowed in the username to fill the gap)
  • new: Quote directly one of your messages
  • new: Mention you by your plain username (without @)

loycev iasenko
hero member
Activity: 1582
Merit: 759
This is awesome, great job. Bookmarking for future use.

If you don't mind me asking: What's this coded in? Have you thought about releasing it as open source: throwing it up on Github so others can contribute?

If it's a language I'm familiar w/, I'd definitely try & help out.

If you're wanting to keep it closed source, that's completely understandable though.
hero member
Activity: 784
Merit: 1416
I'm also on the list from now!
This can be a very impressive tool if it works, also I suggest also as someone already said to add the notification even if anyone quote your post, it would be an awesome feature, since a lot of people will quote your posts but they will not @tag you.

That and the notification for the  plain mention of the username without @ should be ready for some public testing today. By what i have seen yesterday it seems to work fine, it may need to be tweaked if there will ever be a lot of users. I'll also implement some options to turn on and off these two kind of notification then.

legendary
Activity: 2506
Merit: 1517
#1 VIP Crypto Casino
I'm also on the list from now!
This can be a very impressive tool if it works, also I suggest also as someone already said to add the notification even if anyone quote your post, it would be an awesome feature, since a lot of people will quote your posts but they will not @tag you.
hero member
Activity: 784
Merit: 1416
This feature is not actually very difficult to implement, as soon as i have time i'm going to add it as well, so the next run we can see how is going.

The bot is coded in C#.
That sounds great! Smiley

I was wondering how exactly are you running the bot. Is at like an "agent" that you start and it starts crawling the forum user's latest posts for references of the list of watched user names?

Also, I assume you're doing everything headless, right?

Yes and yes.

I'm actually testing now in silent mode (users registered are not getting any nothifications but they do show up in the log) the idea you are proposing, i need to improve a bit the code to make sure everything run as fast as possible, but it seems to be working quite fine.


DEBUG MODE:https://bitcointalk.org/index.php?topic=4870260
Piggy, you have been mentioned in the following messages:

 2018-09-11 09:54:23 : Delivered mention to Piggy
2018-09-11 10:20:36 : Starting...
2018-09-11 10:33:02 : DEBUG MODE:https://bitcointalk.org/index.php?topic=4870260
Piggy, you have been mentioned in the following messages:

 2018-09-11 10:33:02 : Delivered mention to Piggy
2018-09-11 10:33:54 : DEBUG MODE:https://bitcointalk.org/index.php?topic=4937275
iasenko, you have been mentioned in the following messages:

 2018-09-11 10:33:54 : Delivered mention to iasenko

Pages:
Jump to: