Bitcoin Forum
May 06, 2024, 12:57:46 PM *
News: Latest Bitcoin Core release: 27.0 [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 37657 times)
vlad230
Sr. Member
****
Offline Offline

Activity: 616
Merit: 279



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?

1715000266
Hero Member
*
Offline Offline

Posts: 1715000266

View Profile Personal Message (Offline)

Ignore
1715000266
Reply with quote  #2

1715000266
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



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: 616
Merit: 279



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

Activity: 784
Merit: 1416



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

Activity: 2366
Merit: 1512


#1 VIP Crypto Casino


View Profile
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.

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

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

Activity: 784
Merit: 1416



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

Activity: 1540
Merit: 759


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.

----------------------------------
Web Developer. PM for details.
----------------------------------
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



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: 3304
Merit: 16605


Thick-Skinned Gang Leader and Golden Feather 2021


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

Activity: 784
Merit: 1416



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: 3304
Merit: 16605


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
September 12, 2018, 08:13:46 AM
Last edit: September 12, 2018, 08:48:27 AM by LoyceV
 #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 (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



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: 3304
Merit: 16605


Thick-Skinned Gang Leader and Golden Feather 2021


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

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

 

TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


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

Activity: 784
Merit: 1416



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

Activity: 1540
Merit: 759


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?

----------------------------------
Web Developer. PM for details.
----------------------------------
Piggy (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1416



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

Activity: 1540
Merit: 759


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?

----------------------------------
Web Developer. PM for details.
----------------------------------
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
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?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Initscri
Hero Member
*****
Offline Offline

Activity: 1540
Merit: 759


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!

----------------------------------
Web Developer. PM for details.
----------------------------------
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!