-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automod: Censor images #573
base: main
Are you sure you want to change the base?
Conversation
untested
makes calling db.init() multiple times not reset data
wrong beenach
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self: do this
first rough pass, still dunno what i think of the idea |
Co-authored-by: cobalt <[email protected]>
.filter(Boolean); | ||
|
||
const imageTextResults = await Promise.all(imageTextPromises); | ||
return imageTextResults as string[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need this as here i don't think
Merge conflicts |
my most hated 2 words |
Uses tesseract.js to get image text and moderates it like its the message content
tested by me and callum by spamming a bunch of images with automodmute and it did well
image: