{"id":27970014,"url":"https://github.com/alpha007-cmd/ip-whitelist-bot","last_synced_at":"2025-07-30T01:07:14.347Z","repository":{"id":291164866,"uuid":"976791826","full_name":"alpha007-cmd/IP-Whitelist-Bot","owner":"alpha007-cmd","description":"Manage Windows Firewall IP rules via Discord. Ideal for FiveM server access control.","archived":false,"fork":false,"pushed_at":"2025-05-02T19:37:00.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T21:55:57.424Z","etag":null,"topics":["discordbot","firewall","fivem","fivembot","ip"],"latest_commit_sha":null,"homepage":"https://alpha.marvelcustomdesigns.in/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alpha007-cmd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-02T18:57:47.000Z","updated_at":"2025-05-02T19:37:03.000Z","dependencies_parsed_at":"2025-05-07T21:55:57.680Z","dependency_job_id":null,"html_url":"https://github.com/alpha007-cmd/IP-Whitelist-Bot","commit_stats":null,"previous_names":["alpha007-cmd/ip-whitelist-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alpha007-cmd/IP-Whitelist-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpha007-cmd%2FIP-Whitelist-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpha007-cmd%2FIP-Whitelist-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpha007-cmd%2FIP-Whitelist-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpha007-cmd%2FIP-Whitelist-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alpha007-cmd","download_url":"https://codeload.github.com/alpha007-cmd/IP-Whitelist-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpha007-cmd%2FIP-Whitelist-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265095832,"owners_count":23710738,"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":["discordbot","firewall","fivem","fivembot","ip"],"created_at":"2025-05-07T21:55:56.237Z","updated_at":"2025-07-13T05:35:22.090Z","avatar_url":"https://github.com/alpha007-cmd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 IP Whitelisting Discord Bot\n\nA modular, clean, and beginner-friendly **Discord.js v14** bot built using JavaScript. Perfect for managing servers with utilities like IP whitelisting, firewall control, and bot interaction commands.\n\n\n## 🧩 Features\n\n* 🔐 Add IP to Windows Firewall with `/addip`\n* 💬 Echo any message with `/say`\n* 📡 Check bot latency with `/ping`\n* ⚙️ Modular command and event structure\n* 🪵 Auto-logs IP actions to a specified channel\n\n\n---\n\n## 📁 Project Structure\n\n```\n\n📦 root/\n├── 📁 commands/\n│   └── 📁 utilities/\n│       ├── addip.js          # Add IP to Windows Firewall\n│       ├── firewall.js       # Manage firewall rules\n│       ├── ping.js           # Latency command\n│       └── say.js            # Echo command\n├── 📁 events/\n│   ├── interactionCreate.js  # Handles command interactions\n│   └── ready.js              # Bot startup handler\n├── config.json               # Stores bot token, client ID, guild ID, log channel ID\n├── deploy-commands.js        # Registers slash commands\n├── index.js                  # Entry point\n├── package.json              # Project metadata and scripts\n└── README.md                 # You're here!\n\n````\n\n---\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/alpha007-cmd/IP-Whitelist-Bot.git\ncd IP-Whitelist-Bot\n````\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 3. Configure `config.json`\n\nReplace the placeholder values with your actual information:\n\n```json\n{\n  \"token\": \"YOUR_BOT_TOKEN\",\n  \"clientId\": \"YOUR_CLIENT_ID\",\n  \"guildId\": \"YOUR_GUILD_ID\",\n  \"logChannelId\": \"YOUR_LOG_CHANNEL_ID\"\n}\n```\n\n### 4. Deploy Slash Commands\n\n```bash\nnode deploy-commands.js\n```\n\n### 5. Start the Bot\n\n```bash\nnode index.js\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpha007-cmd%2Fip-whitelist-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falpha007-cmd%2Fip-whitelist-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpha007-cmd%2Fip-whitelist-bot/lists"}