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

Rust

6321 readers
27 users here now

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

Wormhole

[email protected]

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 12 comments
sorted by: hot top controversial new old
[–] [email protected] 17 points 6 days 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

[–] [email protected] 5 points 6 days ago

wow, never thought of this! neat!

[–] horse_battery_staple 15 points 6 days ago (4 children)

@[email protected] 30 minutes. "How many comments say remind me?"

[–] [email protected] 7 points 6 days ago
[–] [email protected] 7 points 6 days ago (1 children)

Thank you I was looking for exactly something like this!

[–] [email protected] 8 points 6 days 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.

[–] [email protected] 4 points 6 days ago

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

[–] [email protected] 5 points 6 days 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.

[–] [email protected] 1 points 6 days ago

@horse_battery_staple Ok, I will remind you on Sunday Feb 2, 2025 at 1:21 PM UTC.

[–] solrize 14 points 6 days ago

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

[–] [email protected] 5 points 6 days 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.

[–] [email protected] 3 points 6 days 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.