A Discord bot that detects cryptocurrency scams in images, and more in the future.
- TypeScript 99.6%
- JavaScript 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Build & test / build (node-22) (push) Successful in 1m23s
|
||
| .forgejo/workflows | ||
| .github/workflows | ||
| packages/jsx-runtime | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
ScamDetector
A Discord bot that detects cryptocurrency scams in images, and more in the future.
- Scans images for scam content
- Compares image similarity to known images from a dataset
- Uses OCR to detect suspicious text and patterns
- Automatically kicks users, and sends them a DM with a link to rejoin once their account is secure
Add to your server
If you do not want to host your own instance of the bot, you can use the one hosted and managed by me! The bot should have 100% uptime so don't worry.
Setup
- Clone repo
git clone https://git.imtheo.lol/theo/ScamDetector
cd ScamDetector
- Install packages
pnpm install
- Edit .env
cp .env.example .env
nano .env
- Download dataset & generate hashes
pnpm datasets:download
pnpm hash:gen
- Start
To run as dev:
pnpm run dev
To run normally:
pnpm run build
pnpm run start