-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(automod:message_rules:nsfw): powerful AI NSFW image detection
- Loading branch information
1 parent
b95ba08
commit 43eb34e
Showing
5 changed files
with
252 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,107 @@ | ||
{ | ||
"name": "sudobot", | ||
"description": "A Discord bot for moderation purposes.", | ||
"version": "8.12.0", | ||
"main": "build/index.js", | ||
"license": "GPL-3.0-or-later", | ||
"keywords": [ | ||
"bot", | ||
"discord-bot", | ||
"moderation", | ||
"automoderation", | ||
"discord-moderation", | ||
"discord-moderation-bot", | ||
"discord-automoderation", | ||
"discord-automoderation-bot" | ||
], | ||
"homepage": "https://github.com/onesoft-sudo/sudobot", | ||
"icon": "https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png", | ||
"readme": "https://github.com/onesoft-sudo/sudobot#readme", | ||
"author": { | ||
"name": "Ar Rakin", | ||
"email": "rakinar2@onesoftnet.eu.org", | ||
"url": "https://virtual-designer.github.io" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/onesoft-sudo/sudobot" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/onesoft-sudo/sudobot/issues", | ||
"email": "sudobot@onesoftnet.eu.org" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "^5.8.1", | ||
"ascii-table3": "^0.8.2", | ||
"async-mutex": "^0.4.0", | ||
"axios": "^1.4.0", | ||
"bcrypt": "^5.1.0", | ||
"canvas": "^2.11.2", | ||
"chalk": "^4.1.2", | ||
"cors": "^2.8.5", | ||
"date-fns": "^2.30.0", | ||
"deepmerge": "^4.3.1", | ||
"discord.js": "^14.13.0", | ||
"dot-object": "^2.1.4", | ||
"dotenv": "^16.3.1", | ||
"express": "^4.18.2", | ||
"express-rate-limit": "^6.9.0", | ||
"figlet": "^1.7.0", | ||
"googleapis": "^126.0.1", | ||
"json5": "^2.2.3", | ||
"jsonwebtoken": "^9.0.1", | ||
"module-alias": "^2.2.3", | ||
"pm2": "^5.3.1", | ||
"reflect-metadata": "^0.1.13", | ||
"semver": "^7.5.4", | ||
"socket.io": "^4.7.2", | ||
"tesseract.js": "^5.0.4", | ||
"tslib": "^2.6.1", | ||
"undici": "^5.23.0", | ||
"uuid": "^9.0.0", | ||
"zod": "^3.21.4" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.6", | ||
"@commitlint/config-conventional": "^17.6.6", | ||
"@types/bcrypt": "^5.0.0", | ||
"@types/bun": "^1.0.5", | ||
"@types/cors": "^2.8.13", | ||
"@types/dot-object": "^2.1.2", | ||
"@types/express": "^4.17.17", | ||
"@types/figlet": "^1.5.8", | ||
"@types/jsonwebtoken": "^9.0.2", | ||
"@types/module-alias": "^2.0.2", | ||
"@types/node": "^20.4.0", | ||
"@types/semver": "^7.5.4", | ||
"@types/uuid": "^9.0.2", | ||
"husky": "latest", | ||
"prisma": "^5.8.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.3.3", | ||
"zod-to-json-schema": "^3.21.4" | ||
}, | ||
"optionalDependencies": { | ||
"openai": "^4.26.0" | ||
}, | ||
"scripts": { | ||
"start": "node build/index.js", | ||
"start:bun": "bun build/bun.js", | ||
"prepare": "husky", | ||
"dev": "bun run src/bun.ts", | ||
"lint": "eslint src/ --ext .ts", | ||
"lint:fix": "eslint src/ --ext .ts --fix", | ||
"build": "tsc", | ||
"start:prod": "pm2 start ./ecosystem.config.js", | ||
"deploy": "node scripts/deploy-commands.js", | ||
"gen:schema": "node scripts/generate-config-schema.js", | ||
"clean": "rm -frv build; make clean", | ||
"test": "node --test --require ts-node/register tests/**/*.test.ts" | ||
}, | ||
"_moduleAliases": { | ||
"@sudobot": "build" | ||
} | ||
} | ||
"name": "sudobot", | ||
"description": "A Discord bot for moderation purposes.", | ||
"version": "8.12.0", | ||
"main": "build/index.js", | ||
"license": "GPL-3.0-or-later", | ||
"keywords": [ | ||
"bot", | ||
"discord-bot", | ||
"moderation", | ||
"automoderation", | ||
"discord-moderation", | ||
"discord-moderation-bot", | ||
"discord-automoderation", | ||
"discord-automoderation-bot" | ||
], | ||
"homepage": "https://github.com/onesoft-sudo/sudobot", | ||
"icon": "https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png", | ||
"readme": "https://github.com/onesoft-sudo/sudobot#readme", | ||
"author": { | ||
"name": "Ar Rakin", | ||
"email": "rakinar2@onesoftnet.eu.org", | ||
"url": "https://virtual-designer.github.io" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/onesoft-sudo/sudobot" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/onesoft-sudo/sudobot/issues", | ||
"email": "sudobot@onesoftnet.eu.org" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "^5.8.1", | ||
"@tensorflow/tfjs-node": "^4.17.0", | ||
"ascii-table3": "^0.8.2", | ||
"async-mutex": "^0.4.0", | ||
"axios": "^1.4.0", | ||
"bcrypt": "^5.1.0", | ||
"canvas": "^2.11.2", | ||
"chalk": "^4.1.2", | ||
"cors": "^2.8.5", | ||
"date-fns": "^2.30.0", | ||
"deepmerge": "^4.3.1", | ||
"discord.js": "^14.14.1", | ||
"dot-object": "^2.1.4", | ||
"dotenv": "^16.3.1", | ||
"express": "^4.18.2", | ||
"express-rate-limit": "^6.9.0", | ||
"figlet": "^1.7.0", | ||
"googleapis": "^126.0.1", | ||
"json5": "^2.2.3", | ||
"jsonwebtoken": "^9.0.1", | ||
"module-alias": "^2.2.3", | ||
"nsfwjs": "^3.0.0", | ||
"pm2": "^5.3.1", | ||
"reflect-metadata": "^0.1.13", | ||
"semver": "^7.5.4", | ||
"sharp": "^0.33.2", | ||
"socket.io": "^4.7.2", | ||
"tesseract.js": "^5.0.4", | ||
"tslib": "^2.6.1", | ||
"undici": "^5.23.0", | ||
"uuid": "^9.0.0", | ||
"zod": "^3.21.4" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.6", | ||
"@commitlint/config-conventional": "^17.6.6", | ||
"@types/bcrypt": "^5.0.0", | ||
"@types/bun": "^1.0.5", | ||
"@types/cors": "^2.8.13", | ||
"@types/dot-object": "^2.1.2", | ||
"@types/express": "^4.17.17", | ||
"@types/figlet": "^1.5.8", | ||
"@types/jsonwebtoken": "^9.0.2", | ||
"@types/module-alias": "^2.0.2", | ||
"@types/node": "^20.4.0", | ||
"@types/semver": "^7.5.4", | ||
"@types/uuid": "^9.0.2", | ||
"husky": "latest", | ||
"prisma": "^5.8.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.3.3", | ||
"zod-to-json-schema": "^3.21.4" | ||
}, | ||
"optionalDependencies": { | ||
"openai": "^4.26.0" | ||
}, | ||
"scripts": { | ||
"start": "node build/index.js", | ||
"start:bun": "bun build/bun.js", | ||
"prepare": "husky", | ||
"dev": "bun run src/bun.ts", | ||
"lint": "eslint src/ --ext .ts", | ||
"lint:fix": "eslint src/ --ext .ts --fix", | ||
"build": "tsc", | ||
"start:prod": "pm2 start ./ecosystem.config.js", | ||
"deploy": "node scripts/deploy-commands.js", | ||
"gen:schema": "node scripts/generate-config-schema.js", | ||
"clean": "rm -frv build; make clean", | ||
"test": "node --test --require ts-node/register tests/**/*.test.ts" | ||
}, | ||
"_moduleAliases": { | ||
"@sudobot": "build" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.