{"id":31692197,"url":"https://github.com/himuraw/px-guard","last_synced_at":"2025-10-08T14:04:14.709Z","repository":{"id":306988021,"uuid":"1027876707","full_name":"HIMURAw/PX-Guard","owner":"HIMURAw","description":" powerful Discord Guard Bot with anti-raid, anti-spam, and moderation features.","archived":false,"fork":false,"pushed_at":"2025-10-05T00:25:07.000Z","size":76,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T02:41:12.854Z","etag":null,"topics":["anti","anti-raid","discord","discord-bot","discord-guard","discord-guard-bot","discord-js","discord-js-v14","guard-bot","protection","security"],"latest_commit_sha":null,"homepage":"https://pixeldev.com.tr","language":"JavaScript","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/HIMURAw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2025-07-28T17:05:05.000Z","updated_at":"2025-10-05T00:25:10.000Z","dependencies_parsed_at":"2025-07-28T21:37:59.967Z","dependency_job_id":"47172e9e-7610-484b-81d6-fb0f68c3447f","html_url":"https://github.com/HIMURAw/PX-Guard","commit_stats":null,"previous_names":["himuraw/px-guard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HIMURAw/PX-Guard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HIMURAw%2FPX-Guard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HIMURAw%2FPX-Guard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HIMURAw%2FPX-Guard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HIMURAw%2FPX-Guard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HIMURAw","download_url":"https://codeload.github.com/HIMURAw/PX-Guard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HIMURAw%2FPX-Guard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956330,"owners_count":26075221,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"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":["anti","anti-raid","discord","discord-bot","discord-guard","discord-guard-bot","discord-js","discord-js-v14","guard-bot","protection","security"],"created_at":"2025-10-08T14:04:13.046Z","updated_at":"2025-10-08T14:04:14.704Z","avatar_url":"https://github.com/HIMURAw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e🚨 PX-Guard | Discord Anti-Raid \u0026 Authorization Bot\u003c/h1\u003e\n  \n  [![Discord](https://img.shields.io/discord/your-server-id?color=7289DA\u0026label=Discord\u0026logo=discord\u0026logoColor=white)](https://discord.gg/pxdev)\n  [![GitHub license](https://img.shields.io/github/license/HIMURAw/PX-Guard?color=blue)](LICENSE)\n  [![GitHub stars](https://img.shields.io/github/stars/HIMURAw/PX-Guard?style=social)](https://github.com/HIMURAw/PX-Guard/stargazers)\n  [![Discord.js](https://img.shields.io/badge/discord.js-v14-7289DA?logo=discord\u0026logoColor=white)](https://discord.js.org/)\n  \n  **PX-Guard** is a powerful anti-raid and user authorization bot designed to protect your Discord server. It prevents unauthorized access attempts, detects suspicious activities, and provides authorization systems to make administrators' jobs easier.\n  \n  [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/HIMURAw/PX-Guard)\n  [![Invite to Server](https://img.shields.io/badge/Invite-PX--Guard-7289DA?style=for-the-badge\u0026logo=discord)](https://discord.com/oauth2/authorize?client_id=YOUR_BOT_ID\u0026permissions=8\u0026scope=bot%20applications.commands)\n\n\u003c/div\u003e\n\n---\n\n## 📑 Table of Contents\n- [✨ Features](#-features)\n- [🚀 Installation](#-installation)\n- [⚙️ Configuration](#️-configuration)\n- [💡 Usage](#-usage)\n- [🔧 Commands](#-commands)\n- [📸 Preview](#-preview)\n- [🤝 Contributing](#-contributing)\n- [📄 License](#-license)\n- [📜 Changelog](CHANGELOG.md)\n\n---\n\n## 🔥 Features\n\n- **Anti-Raid Protection**\n  - Instantly detects mass joins and spam attacks\n  - Automatically bans or quarantines suspicious users\n  - Locks server settings during raids to prevent damage\n\n- **User Authorization**\n  - Custom role and permission management\n  - Detailed control for admin, moderator, and other authorized roles\n  - Automatically detects and intervenes in unauthorized actions by users\n\n- **Unauthorized Action Prevention**\n  - Monitors channel, role, message, and membership changes\n  - Automatic alerts and logging for suspicious activities\n  - Approval system for critical operations requiring admin confirmation\n\n- **Advanced Logging System**\n  - Logs all suspicious activities in detail\n  - Sends real-time notifications to specified channels\n\n- **Easy Setup and Configuration**\n  - Simple, customizable configuration file\n  - Modern codebase with Discord.js v14 support\n\n---\n\n## 🚀 Installation\n\n### Prerequisites\n- Node.js v16.9.0 or higher\n- npm v7 or higher\n- Discord.js v14\n- A Discord Bot Token from the [Discord Developer Portal](https://discord.com/developers/applications)\n\n### Setup Instructions\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/HIMURAw/PX-Guard.git\n   cd PX-Guard\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the bot:\n   ```bash\n   node .\n   # or using PM2 (recommended for production)\n   npm install -g pm2\n   pm2 start index.js --name \"px-guard\"\n   ```\n\n## ⚙️ Configuration\n\nEdit the `config.js` file with your preferred settings. Here's an example configuration:\n\n```javascript\nmodule.exports = {\n    discord: {\n        token: \"Your Discord Bot Token\",\n        guards_token: [\"Your Discord Bot Token\", \"Your Discord Bot Token\"],\n        serverId: \"your discord server id\",\n        voiceID: \"your discord voice channel id\"\n    },\n  // ... other configuration options\n};\n```\n\n### Protection Features\n- Automatic raid detection and prevention\n- Role and permission management\n- Suspicious activity monitoring\n\n## 📸 Preview\n\n![Dashboard Preview](https://cdn.discordapp.com/attachments/1392478452636192838/1399473068941774929/image.png?ex=688dbd9c\u0026is=688c6c1c\u0026hm=503b8488d1d77f4f6a73914cb1197e8942cc28631743d8008e31157fbe5dafa7\u0026)\n\n## 🤝 Contributing\n\nContributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) for details on how to contribute to this project.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n### 🐛 Reporting Issues\nFound a bug? Please open an issue on our [GitHub Issues](https://github.com/HIMURAw/PX-Guard/issues) page.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🔗 Links\n\n- [Support Server](https://discord.gg/pxdev)\n- [GitHub Repository](https://github.com/HIMURAw/PX-Guard)\n\n## 🙏 Acknowledgments\n\n- Built with ❤️ by [HIMURAw](https://github.com/HIMURAw)\n- Thanks to all contributors who helped improve this project\n- Special thanks to the Discord.js team for their amazing library\n\n\u003cdiv align=\"center\"\u003e\n  Made with :heart: and JavaScript\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimuraw%2Fpx-guard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimuraw%2Fpx-guard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimuraw%2Fpx-guard/lists"}