{"id":44763482,"url":"https://github.com/range79/bot-killer","last_synced_at":"2026-02-16T03:31:08.476Z","repository":{"id":312758592,"uuid":"1048547917","full_name":"range79/bot-killer","owner":"range79","description":"a discord bot for ban bot accounts in public servers","archived":false,"fork":false,"pushed_at":"2026-01-19T15:11:55.000Z","size":74,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-19T21:39:11.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/range79.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"darkrange6s","thanks_dev":null,"custom":null}},"created_at":"2025-09-01T16:06:23.000Z","updated_at":"2026-01-19T15:11:52.000Z","dependencies_parsed_at":"2025-09-01T21:25:17.287Z","dependency_job_id":"a678a8b4-9e3e-4703-851b-29f48567a4a9","html_url":"https://github.com/range79/bot-killer","commit_stats":null,"previous_names":["range79/bot-killer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/range79/bot-killer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/range79%2Fbot-killer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/range79%2Fbot-killer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/range79%2Fbot-killer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/range79%2Fbot-killer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/range79","download_url":"https://codeload.github.com/range79/bot-killer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/range79%2Fbot-killer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T02:07:14.481Z","status":"online","status_checked_at":"2026-02-16T02:03:22.852Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-16T03:31:07.798Z","updated_at":"2026-02-16T03:31:08.471Z","avatar_url":"https://github.com/range79.png","language":"Kotlin","readme":"# KillerBot\n\nKillerBot is a **Discord moderation bot** built with **Spring Boot**, **JDA (Java Discord API)**, and **Redis**.\nIt is designed to run in **only one allowed server** and provides **anti-spam protection** for media messages (images \u0026 links).\n\n## ✨ Features\n\n* ✅ Restricts the bot to a single allowed server (leaves others automatically).\n* 🚫 Detects **spam images/links** within a short time window.\n* 🔇 Automatically **timeouts** (mutes) spam users for a configurable duration.\n* 🧹 Deletes all recent spam media messages from the muted user.\n* 📝 Logs spam events to a configurable log channel.\n* ⚡ Uses **Redis** for fast spam detection with TTL-based counters.\n\n## 🛠 Tech Stack\n\n* **Java 21+**\n* **Spring Boot**\n* **JDA (Java Discord API)**\n* **Redis**\n\n## ⚙️ Configuration\n\nEdit your `application.yml` or `application.properties` file:\n\n```properties\nspring.application.name=killer-bot\nkillerbot.botToken=\ndiscord.serverid=\ndiscord.log.channel-id=\nspring.data.redis.host=\nspring.data.redis.port=\n\n\n```\n\n### Environment Variables (Optional)\n\nInstead of hardcoding values, you can also use environment variables:\n\n```bash\nexport KILLERBOT_BOTTOKEN=your_token\nexport DISCORD_SERVERID=your_server_id\nexport DISCORD_LOG_CHANNELID=your_log_channel\n```\n\n## 🚀 Running the Bot\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/range79/bot-killer\n   cd killerbot\n   ```\n\n2. Start Redis (if not already running):\n\n   ```bash\n   docker run -d -p 6379:6379 redis\n   ```\n\n3. Build \u0026 run with Maven/Gradle:\n\n   ```bash\n   ./gradlew bootRun\n   ```\n\n\n## 🙌 Contributors\n\nFor the amazing people who helped make this project possible, see the full list of [Contributors](Contributors.md).\n\n\n## 🔒 Anti-Spam Logic\n\n* Each media message (image/link) increases a counter in Redis.\n* If a user exceeds **8 messages within 30 seconds**, they are muted for **10 hours**.\n* The bot deletes recent spam messages from all text channels.\n\n## 📜 License\n\nMIT License. Free to use and modify.\n","funding_links":["https://buymeacoffee.com/darkrange6s"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frange79%2Fbot-killer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frange79%2Fbot-killer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frange79%2Fbot-killer/lists"}