this post was submitted on 08 Jun 2023
82 points (98.8% liked)

Asklemmy

43849 readers
685 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Hi, I'm learing python and I was thinking about createing Lemmy bot.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] PriorProject@lemmy.world 18 points 1 year ago (1 children)

There's no bots I'm really missing hard right now, but it's worth recalling that bots are such a popular approach on Reddit specifically because the community has no way to improve reddit directly. If you want to add a feature to reddit, the ONLY way you can do it is to try to parse the text in a post/comment and the have the bot post it's own output as a comment or whatever.

With Lemmy, the code is open source and you can improve it directly. So before writing a bot to hammer the apis of an instance reading every post/comment made to a community, it's worth asking oneself if Lemmy could be improved to natively do the thing without needing a bot. Like for remind-me, what if Lemmy had a native remind-me button that direct-messaged you with a link to a post after some configurable delay. Easier to use, more efficient, no bot needed.

Now, this might be more work than writing a bot. And a bot can be a useful way to prototype some feature. It also means learning rust and JavaScript rather than python, and it means cooperating with Lemmy devs who might have concerns about performance at-scale, maintainability, or user-experience. These concerns will likely make the result better though. It's fine to do stuff via bots, but consider the possibility that directly contributing to improve Lemmy would be a better result that isn't possible in the Reddit ecosystem.

[โ€“] alex@agora.nop.chat 5 points 1 year ago* (last edited 1 year ago)

Personally, I've been thinking about bots, but I plan to run them on my own instance or their own dedicated instance. That way, they don't add any load at all with their interactions, and only their comments are synced to other instances. That also makes it easy for whole instances or communities to kick them if they don't want them there.