this post was submitted on 02 Feb 2025
34 points (97.2% liked)

Rust

6397 readers
102 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

Greetings,

sometimes I want to read new comments on a particular post but I don't want to check it every hour to see new comments. It would be nice if I can just say "!remind 5h" so that I get a reminder to checkout a specific post which would have new comments after 5 hour.

I am thinking about making it myself in Rust, but if there is already a bot here and I don't know, please tell me.

top 11 comments
sorted by: hot top controversial new old
[–] copacetic@discuss.tchncs.de 18 points 2 weeks ago (1 children)

Why should it be a bot? It could be a feature built into Lemmy itself.

You could request it here: https://github.com/LemmyNet/lemmy/issues

[–] kionite231@lemmy.ca 5 points 2 weeks ago

wow, never thought of this! neat!

[–] horse_battery_staple@lemmy.world 15 points 2 weeks ago (3 children)

@remindme@mstdn.social 30 minutes. "How many comments say remind me?"

[–] kionite231@lemmy.ca 7 points 2 weeks ago (1 children)

Thank you I was looking for exactly something like this!

[–] Zagorath@aussie.zone 8 points 2 weeks ago (1 children)

Hey, if you did want to build this yourself, a handy feature the Reddit version has is that it replies to the comment confirming the reminder has been set, and includes a link to DM the bot prefilled with information to receive the same reminder. It saves dozens of people needing to make the same "remind me" comment.

[–] kionite231@lemmy.ca 4 points 2 weeks ago

that's actually useful, Thank you for sharing the idea!

[–] remindme@mstdn.social 6 points 2 weeks ago
[–] Ephera@lemmy.ml 5 points 2 weeks ago

Huh, @-ing makes a lot of sense. I was about to tell the tale that the !remindme syntax is incredibly wasteful, because the bot needs to read every comment to be able to detect that. But yeah, just making it a mention instead resolves that very elegantly.

[–] solrize@lemmy.world 14 points 2 weeks ago

Noo that bot is a big wart on reddit. Add something on the client side instead.

[–] Zagorath@aussie.zone 5 points 2 weeks ago

Idk if there's already a bot, but I will say that as much as I detest JavaScript, the library someone already made for Lemmy would absolutely trivialise a big chunk of this kind of task. You just set a handler on the username mention and a scheduler to go through the archive on a Cron to send out any reminders.

[–] hendrik@palaver.p3x.de 3 points 2 weeks ago

I'm not sure if there is a particular one written in Rust... But a Google search returns several open source remindme-bots for Lemmy. And I've seen one in some community. Plus Mastodon bots are supposed to work here, because of federation.