Hello!
I’ve made a simple source bot and named it Soutaku. The account is @saucechan@ani.social. It can be summoned with a mention, either by the author of a post in the post body itself, or anyone in the comments.
Consider this a beta, functionality is extremely simple so there’s not a lot that can go wrong, but I’ve also not done much testing.
Mentions should work reliably, and make the bot respond no matter what. But Soutaku will also attempt to detect posts that do not include source or artist credit, and comment on these automatically.
Only images linked in the post URL currently work, so trying to summon the bot to find the source for images embedded in the post body or in a comment, won’t work. For now.
I have whitelisted Soutaku for the following communities, feel free to contact me if you’d like any additional communities added.
- !fitmoe@lemmy.world
- !murdermoe@lemmy.world
- !fangmoe@ani.social
- !cybermoe@ani.social
- !kemonomoe@ani.social
- !midriffmoe@ani.social
- !streetmoe@ani.social
- !thiccmoe@ani.social
- !officemoe@ani.social
- !meganemoe@ani.social
- !anime_art@ani.social
- !helltaker@sopuli.xyz
- !overlord@sopuli.xyz
- !killlakill@lemmy.world
- !dungeonmeshi@ani.social
My github is here: https://github.com/CTalvio
But I’ve published nothing of my dabbling in lemmy stuff yet, as I’ve been re-learning python as I go in order to get into it. Looking into it, trace.moe or whatanime.org might be better suited.
To interact with Lemmy, I’m using this: https://github.com/db0/pythorhead
Ok, that is what I am using as well for creating posts. Thanks for the hard work!
Then you are familiar.
Mentions are the easiest thing to implement, as you can pull unreads and mark them read as you go, and thereby do away with the issue of only responding to new items, and only doing so once.
But you can also use the comment.list endpoint to just pull a feed of comments the same way you would a list of posts. But comments can’t be marked read, so you’ll need to have the bot keep track of what it has already processed.