Can we write lemmy bots?
Can we write lemmy bots?
I wrote a few useful utility bots back in the old days when reddit was a thing.
I just remembered them now, thinking it'd be useful to write a new one to help some of our art communities. (More on that latet)
Is there a bot framework, or similar for lemmy? Some docs? Some boilerplate code maybe? Just something I can sink into and learn.
Thanks so much
Yes. See https://join-lemmy.org/docs/contributors/04-api.html for general usage and https://github.com/db0/pythorhead for a library (written in Python).
Edit: See also: https://lemm.ee/c/lemmydev and https://lemmy.dbzer0.com/c/lemmy_integrations
8 0 ReplyYes. There are a few bots out there. And I found writing one pretty simple. I wrote this wikibot a while back in Rust: https://codeberg.org/asudox/lemmy-wikibot-rs
Though the code sucked ass. Anyways, I am currently making an automoderation bot for Lemmy. You might struggle to find good documentation for the API though.
2 0 ReplyThe documentation will get much better with 1.0
5 0 Reply