Bitcoin Forum
October 19, 2018, 05:06:08 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2] 3 4 5 »  All
  Print  
Author Topic: [Beta] @mention notification bot open for testing - now with Telegram  (Read 1239 times)
vlad230
Sr. Member
****
Offline Offline

Activity: 308
Merit: 274



View Profile
September 10, 2018, 01:53:02 PM
 #21

This is an interesting feature @Piggy Smiley It's cool to see the notifications somewhere to be able to follow more conversations here.

Any chance this could be extended to also check for posts where you were quoted? I've create a new feature proposal in the past for this here: [NEW FEATURE] Seeing a post that quoted your post would be nice to see it in your tool.

I'm curios what kind of software did you use to create this bot and how are you running it?

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 10, 2018, 03:30:24 PM
 #22

This is an interesting feature @Piggy Smiley It's cool to see the notifications somewhere to be able to follow more conversations here.

Any chance this could be extended to also check for posts where you were quoted? I've create a new feature proposal in the past for this here: [NEW FEATURE] Seeing a post that quoted your post would be nice to see it in your tool.

I'm curios what kind of software did you use to create this bot and how are you running it?



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#.

 

vlad230
Sr. Member
****
Offline Offline

Activity: 308
Merit: 274



View Profile
September 11, 2018, 07:33:01 AM
 #23

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?
Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 11, 2018, 07:47:48 AM
 #24

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


coinlocket$
Sr. Member
****
Online Online

Activity: 336
Merit: 388


View Profile WWW
September 11, 2018, 10:42:08 PM
 #25

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.

My tipping address 12XUa8iczkvz2mdu4yBRDDeUB9nBfGFBaj Smiley
Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 12, 2018, 03:39:52 AM
 #26

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.


Initscri
Hero Member
*****
Online Online

Activity: 812
Merit: 559


OneHash.com - Mutual Betting & Casino


View Profile WWW
September 12, 2018, 05:42:14 AM
 #27

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.

Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 12, 2018, 07:11:47 AM
 #28

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

LoyceV
Legendary
*
Offline Offline

Activity: 1274
Merit: 2136


Self-made Legendary!


View Profile WWW
September 12, 2018, 07:41:39 AM
 #29

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".

Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 12, 2018, 07:48:43 AM
 #30

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.   

LoyceV
Legendary
*
Offline Offline

Activity: 1274
Merit: 2136


Self-made Legendary!


View Profile WWW
September 12, 2018, 08:13:46 AM
 #31

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.

Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 12, 2018, 08:53:22 AM
 #32

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.

LoyceV
Legendary
*
Offline Offline

Activity: 1274
Merit: 2136


Self-made Legendary!


View Profile WWW
September 12, 2018, 09:31:52 AM
 #33

Another request:
LoyceV, you have been mentioned quoted in the following messages:

 

iasenko
Sr. Member
****
Offline Offline

Activity: 350
Merit: 568


Welcome message > Read the rules & pinned posts!


View Profile WWW
September 12, 2018, 10:10:41 AM
 #34

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?

Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 12, 2018, 10:26:17 AM
 #35

yes those are all the recent changes, i'll be marking them with new in the starting post.

Initscri
Hero Member
*****
Online Online

Activity: 812
Merit: 559


OneHash.com - Mutual Betting & Casino


View Profile WWW
September 14, 2018, 06:48:44 PM
 #36

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?

Piggy
Hero Member
*****
Offline Offline

Activity: 518
Merit: 916



View Profile WWW
September 14, 2018, 07:09:22 PM
 #37

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?

Initscri
Hero Member
*****
Online Online

Activity: 812
Merit: 559


OneHash.com - Mutual Betting & Casino


View Profile WWW
September 14, 2018, 07:12:27 PM
 #38

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?

TryNinja
Hero Member
*****
Online Online

Activity: 798
Merit: 777


ChipMixer's Badge of Honor


View Profile
September 14, 2018, 07:14:21 PM
 #39

~
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?

Initscri
Hero Member
*****
Online Online

Activity: 812
Merit: 559


OneHash.com - Mutual Betting & Casino


View Profile WWW
September 14, 2018, 07:17:47 PM
 #40

~
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!

Pages: « 1 [2] 3 4 5 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!