this post was submitted on 25 Jun 2023
29 points (100.0% liked)

Mod Coordination

546 readers
1 users here now

Community for moderators.

founded 1 year ago
MODERATORS
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
figaro
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
footlover7777
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
PassingDuchy
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
 

As the title says for hentai/anime based subs i created a SauceNao bot on the username SauceNaoBot!

To add it just send a message to the bot saying {community name (not displayname)}:Enable So for Paizuri Hentai, it would be paizuri:Enable both sides are caps agnostic.

Once added it will scan through your sub every minute (or so if it gets more popular) commenting on new posts with a SauceNao result!

Things it can handle: normal image posts Posts with an image embedded in the body

Things it cant handle currently: Videos arent supported by SauceNao as far as i can tell. it will work on gif's though If its a multi image post it will only check the first one Gallery sites: Especially Reddit as i cant actually get the file names from a reddit gallery ( i cant manage to find a way to pull the file names using reddit's api :/) if its a single file from reddit it does work though.

Anyway thanks for your time everyone, and happy modding! Update: it was down for a a little bit, turns out when the instance updated to V0.18 NSFW results were no longer returned from the API unless i sent an auth string with them. Its been adjusted and should be up again!

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (2 children)

Hi, will you be making this open source? Looking at making a bot for automatically flagging posts with underage characters via SauceNao + booru tags and it'd be great to build off the code for this rather than having to start from scratch.

[–] [email protected] 2 points 1 year ago

Hey securitas, Update ive got a link now :https://github.com/LemmySauceNao/LemmySauceNaoBot

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yes I definitely i will, although fair warning it is

Far from the best code I've written and it's c# which for some people is a major turnoff (personally I like c#) that being said if you go to github and search lemmysaucenao it should be there! (Sorry on mobile ATM so I don't have a link)

[–] [email protected] 2 points 1 year ago (1 children)

Thank you for putting this together!

[–] [email protected] 2 points 1 year ago

Definitly! Just glad I could help :3

[–] [email protected] 1 points 1 year ago (3 children)

Thanks again for working on this (and for not requiring it to be added as mod). 👍

Any thoughts about integrating support for H-anime via trace.moe? The quotas are a lot less generous than saucenao though unless you become a sponsor.

[–] [email protected] 2 points 1 year ago

Yaeh why not, cant be too hard :P lemme go take a look at it!

[–] [email protected] 2 points 1 year ago (1 children)

Update the second: Its out! each comment should now have SauceNao on top, then Trace.Moe results below that!

[–] [email protected] 1 points 1 year ago

Ayy good work, I'll give it a try haha

[–] [email protected] 2 points 1 year ago

Update: looking into it theres an c# api wrapper i can use to do this, and im going to modify it to run both SauceNao, and Trace.Moe and output it in 1 comment with two sections. Although i need an api key to do that, which may take a day or two for them to send me so ill update you then!

[–] [email protected] 0 points 1 year ago (2 children)

How can I remove it from a mod position?

[–] [email protected] 1 points 1 year ago

If you want it to stop all together just remove it and it will. (if you have already sent starwarsnsfw:enable you can change your mind later by sending starwarsnsfw:disable

[–] [email protected] 1 points 1 year ago (1 children)

Yup! you can remove it from the position, right now there arent really any settings to speak of it just goes through all image posts and adds a comment with any info it can gather from SauceNao.

If you want it to continue working on the community, but dont want it in a mod position, just remove it then send it a message with the content: starwarsnsfw:enable

[–] [email protected] 0 points 1 year ago (1 children)

Yeah, how do I remove it in the first place

[–] [email protected] 1 points 1 year ago (1 children)

Ah that is a good question, I just logged in to leave the mod team on that sub, but the button was missing for just that sub. did you transfer ownership to it? could you put a comment on one of the posts in there (i can use that comment to transfer ownership back, then ill leave the mod team on the sub)

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (2 children)

I just did, here.

Very interesting because all I did was click on the button "appoint as mod," button as you can see here, and that was it. Is it possible that somehow transferred ownership?

Update: I just looked at the mod team on my community and the bot is ahead of me which means that it did transfer over ownership.

[–] [email protected] 1 points 1 year ago (1 children)

Nope I was wrong I don't think you double clicked. So a I tried transferring it back, it doesn't seem to be taking. It's showing up in modlog that it's being transfered but I never lose the perms.

So I started scrolling through main to see if there was an issue and it looks like your not the only one affected, mod ranks seem scrambled for some reason they think it's the v 18 update. Hopefully it will sort out soon:/

For now I assure you I'll stay off the comunity, and once it is resolved I'll make sure it gets transfered back asap.

[–] [email protected] 0 points 1 year ago (1 children)

Wonderful, thanks for being of great help and working on the issue!

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

You probably just accidentally double clicked, on mobile I think the buttons end up in roughly the same place, switching over to transfer it back now so you should have it in a sec

load more comments
view more: next ›