{"id":15211499,"url":"https://github.com/khanmanan/automod-bot","last_synced_at":"2025-05-15T17:01:27.062Z","repository":{"id":37007787,"uuid":"368976530","full_name":"Khanmanan/automod-bot","owner":"Khanmanan","description":"Moderation bot discord","archived":false,"fork":false,"pushed_at":"2025-03-31T15:37:42.000Z","size":705,"stargazers_count":270,"open_issues_count":39,"forks_count":274,"subscribers_count":10,"default_branch":"v2","last_synced_at":"2025-04-13T10:31:28.178Z","etag":null,"topics":["discor-bot","discord","discord-fun","discord-js-bot","discord-moderation","discord-moderation-bot","discord-music-bot","discord-music-bot-24-7","discordjs","discordjs-bot","discordjsbot","glitch","moderation-bot","nsfw","replit","watch","youtube","youtube-bot"],"latest_commit_sha":null,"homepage":"https://cwkhan.xyz/discord","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Khanmanan.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},"funding":{"patreon":"automodbot","custom":["https://apptime.tech","https://automodbot.com","https://cwkhan.xyz"],"open_collective":"abotv12"}},"created_at":"2021-05-19T19:13:07.000Z","updated_at":"2025-04-02T19:38:55.000Z","dependencies_parsed_at":"2023-01-17T12:47:28.615Z","dependency_job_id":null,"html_url":"https://github.com/Khanmanan/automod-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khanmanan%2Fautomod-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khanmanan%2Fautomod-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khanmanan%2Fautomod-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khanmanan%2Fautomod-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Khanmanan","download_url":"https://codeload.github.com/Khanmanan/automod-bot/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248826294,"owners_count":21167655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["discor-bot","discord","discord-fun","discord-js-bot","discord-moderation","discord-moderation-bot","discord-music-bot","discord-music-bot-24-7","discordjs","discordjs-bot","discordjsbot","glitch","moderation-bot","nsfw","replit","watch","youtube","youtube-bot"],"created_at":"2024-09-28T08:41:54.308Z","updated_at":"2025-05-15T17:01:27.016Z","avatar_url":"https://github.com/Khanmanan.png","language":"Dockerfile","funding_links":["https://patreon.com/automodbot","https://apptime.tech","https://automodbot.com","https://cwkhan.xyz","https://opencollective.com/abotv12"],"categories":[],"sub_categories":[],"readme":"# 🤖 Automod Bot\n\nA powerful moderation Discord bot built with Discord.js v14, Mongoose, designed to keep your server clean, safe, and automated.\n\n![Automod Banner](https://cwkbot.fun/botbanner.png)\n\n---\n[invite the bot](https://discord.com/oauth2/authorize?client_id=1363943273374154842\u0026permissions=8\u0026scope=bot%20applications.Commands)\n## 🚀 Features\n\n- Slash commands with auto-detection and pagination help menu\n- Automod with toggle system per server (anti-link, anti-spam, anti-mention, etc.)\n- Database logging (MongoDB + Mongoose)\n- Moderation tools: Warn, Kick, Ban, TempBan, Mute, Unmute\n- Logging system for actions like message delete/edit\n- Web dashboard integration (soon)\n- Discord OAuth for authentication (in progress)\n\n---\n\n## 🛠 Setup\n\n### Prerequisites\n\n- Node.js v18 or higher\n- MongoDB URI (local or cloud)\n- Discord Bot Token\n- Firebase setup (optional)\n\n### Installation\n\n```bash\ngit clone https://github.com/Khanmanan/automod-bot.git\ncd automod-bot\nnpm install\n```\n\n### Environment Setup\n\nCreate a `.env` file in the root:\n\n```env\nTOKEN=your_discord_token\nMONGO_URI=your_mongo_connection\nCLIENT_ID=your_bot_client_id\nGUILD_ID=your_guild_id (for testing commands)\n```\n\n### Running the Bot\n\n```bash\nnode index.js\n```\n\nTo deploy slash commands globally or per guild:\n\n```bash\nnode deploy.js\n```\n\n---\n\n## 🧩 Commands\n\nAll commands are organized in the `/commands` folder and auto-loaded by category. Use `/help` to view all.\n\n- Admin\n- Info\n- Moderation\n- General \n- Owner \n\n---\n\n## 📌 TODO List\n\n### 🔧 Core Features\n\n- [x] Auto-load slash commands by category\n- [x] Help command with pagination and buttons\n- [x] Logging system for moderation actions\n- [x] Toggle-based automod (on/off per rule)\n- [x] Rate-limited buttons on help command\n\n### 🌐 Web Dashboard\n\n- [ ] Discord OAuth2 login\n- [ ] Guild selector\n- [ ] Toggle Automod settings from UI\n- [ ] View mod logs and history\n\n### 🧪 Future Ideas\n\n- [ ] Captcha on join (anti-raid)\n- [ ] Dashboard theming (Dark )\n- [ ] Analytics dashboard (number of mutes/bans per day)\n- [ ] Multi-language support\n\n---\n\u003ch3 align='center'\u003e Bot support server \u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e \u003ca href=\"https://discord.gg/QukxRRFhzQ\"\u003e\u003cimg src=\"https://invidget.switchblade.xyz/QukxRRFhzQ\"/\u003e\u003c/a\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n\n\n## 👤 Author\n\n**Khanmanan**  \nGitHub: [@Khanmanan](https://github.com/Khanmanan)  \nBot Repo: [automod-bot](https://github.com/Khanmanan/automod-bot)\n\n---\n\n## 📜 License\n\nMIT © 2025 Khanmanan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanmanan%2Fautomod-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhanmanan%2Fautomod-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanmanan%2Fautomod-bot/lists"}