- cross-posted to:
- lemmy@lemmy.ml
- fediverse@lemmy.ml
- meta@lemy.lol
- cross-posted to:
- lemmy@lemmy.ml
- fediverse@lemmy.ml
- meta@lemy.lol
I think the title says it all. Welcome to the world, @PostWatchBot@lemy.lol baby!
Usage
- Subscribe to a post: just mention the bot in the comments. It will start to send you notification when a new comment is created.
- Unsubscribe from a post: mention the bot and add
stop
keyword to the comment. (I plan to do this with reply as well) - Unsubscribe completely: Send PM to the bot and add
stop
to your message. It will unsubscribe you from all subscriptions.
Made with @CannotSleep420@hexbear.net’s lemmy-bot project 🙏 Tomorrow I will publish the code publicly after adding README and self-hosting guide.
How does it subscribe when lemmy doesn’t have subscribing or notification apps? Does it just pill the server? (As a server owner the amount of traffic there worries me, and that could cost me depending on implementation)
If it’s polling, how do you know to stop polling? Will it just poll a post forever?
Its polling every 30th second only on my instance. So don’t worry, it will not make any difference for you ✌️
in theory as you operate both the server and the bot you could modify lemmy to tell the bot when a new comment hits a thread instead of polling, which would be more efficient (but definitely harder to do!)
also does it handle the case where nobody from your instance is following a community? to make sure you get all the replies reliably the bot would need to subscribe to each community it’s watching a post from
that said, great work. I may end up using it if I don’t end up forgetting about its existence :p
I’m using a library named lemmy-bot. To achieve what you say, I need to modify both library and lemmy server. As you can guess, I can’t afford time for these 🙂
I think it’s not using much resources anyways. 2 requests per minute is nothing compared to hundreds of ActivityPub requests per second.
I didn’t tested non-followed community, but the bot works with mention event instead of comment. But still not sure, I’ll test this one 🙏
I didn’t tested non-followed community, but the bot works with mention event instead of comment. But still not sure, I’ll test this one 🙏
oh, I meant for the actual post watching part, summoning via mention should work without any subscription
Let me try it first :)
You have been subscribed to this post and will be notified of new comments. To unsubscribe from this post, tag me and add
stop
keyword to your comment.Now, please remove your comment to keep the thread clean.
I hope it works 😅
Yayy it worked! 🎉
You have been unsubscribed from this posts notifications.
So every user that decides to get notified will add a comment to the thread?
If 100 people trigger it, 100 comments will be the exact same response?
Also, if people end up “deleting the comment to keep the thread clean”, will they get purged as well?
Valid criticism. I’ll try to clear it tomorrow 👍 Any suggestions are appreciated.
Why not send the messages/instructions as a PM as well?
It could send a message to the user instead of commenting on the thread
All of you asked for it, so the bot will now send PMs instead of replying to comments :) Please don’t beat me up again 😨
@donio@lemmy.world @smeg@feddit.uk @rglullis@communick.news @nix@merv.news @Jumuta@sh.itjust.works
Thanks! Its super convenient! Is it just me or does clicking the link it provides opens the thread but not the comment itself? Would be convenient since im guessing replies to comments dont cause a notification?
Yeah make sense. I’ve updated it to work that way 👍
Given the backlash against everyone who tries to make a reddit-lemmy mirroring bot then hopefully you’ve saved yourself a headache in the future!
TBH I don’t like those bots either 👍
see? violence is always the answer!
Thanks!
Is it possible to subscribe to a comment thread as well? So if anyone replies to your comment I get a notification?
Nice :) @PostWatchBot@lemy.lol
You have been subscribed to this post and will be notified of new comments. To unsubscribe, reply or tag me with
stop
keyword.And yes, it works