{"id":25039500,"url":"https://github.com/nexoscreation/bot-discord-template","last_synced_at":"2025-08-12T13:06:22.575Z","repository":{"id":248085730,"uuid":"827657095","full_name":"nexoscreation/bot-discord-template","owner":"nexoscreation","description":"A modular and scalable Discord bot starter template using Discord.js","archived":false,"fork":false,"pushed_at":"2025-05-27T07:29:16.000Z","size":329,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-06T15:57:49.309Z","etag":null,"topics":["bot","discord-bot","javascript","node-js"],"latest_commit_sha":null,"homepage":"https://www.nexoscreation.tech/docs","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/nexoscreation.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}},"created_at":"2024-07-12T05:35:53.000Z","updated_at":"2025-06-08T16:22:27.000Z","dependencies_parsed_at":"2024-11-29T05:30:08.562Z","dependency_job_id":null,"html_url":"https://github.com/nexoscreation/bot-discord-template","commit_stats":null,"previous_names":["nexoscreator/bot-nexos-discord","nexoscreator/bot-discord-starter","nexoscreation/discord-bot-template","nexoscreation/bot-discord-template"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/nexoscreation/bot-discord-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexoscreation%2Fbot-discord-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexoscreation%2Fbot-discord-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexoscreation%2Fbot-discord-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexoscreation%2Fbot-discord-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexoscreation","download_url":"https://codeload.github.com/nexoscreation/bot-discord-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexoscreation%2Fbot-discord-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270065427,"owners_count":24520946,"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-08-12T02:00:09.011Z","response_time":80,"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":["bot","discord-bot","javascript","node-js"],"created_at":"2025-02-06T02:52:06.638Z","updated_at":"2025-08-12T13:06:22.563Z","avatar_url":"https://github.com/nexoscreation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Bot Starter Template 🚀\n\n\u003e This project is a strong foundation for building powerful, scalable Discord bots using [Discord.js](https://discord.js.org). It focuses on **best practices**, **modular structure**, **dynamic command/event handling**, and **modern development standards**.\n\n---\n\n## 🌟 Features\n\n#### ✨ Modular Command System\n\nOrganized by categories for both **prefix** and **slash** commands.\n\n#### ⚙️ Dynamic Event Handling\n\nBuilt-in support for major Discord events with **dynamic event loading** for scalability.\n\n#### 📜 Easy Configuration\n\nManage environment variables and bot settings via `.env` files or JSON configs.\n\n#### 📡 API Integration Ready\n\nExample setups for connecting to external APIs like GitHub, RSS feeds, and more.\n\n#### 🛠️ **Utility Functions**\n\nPre-built utilities for logging, embed creation, and more to streamline development.\n\n---\n\n## 🚀 Getting Started\n\n### 📂 Prerequisites\n\nEnsure you have the following installed:\n\n- [Node.js](https://nodejs.org/) v16.6.0 or higher.\n- npm v7 or higher\n- [Discord Developer Portal](https://discord.com/developers/applications) account to create a bot and get your bot token.\n\n### 🛠️ Installation\n\nFollow these steps to set up the bot on your local machine:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/nexoscreation/bot-discord-template.git\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n### 📜 Environment Setup\n\nCreate a `.env` file in the root directory:\n\n```env\nDISCORD_BOT_TOKEN=your-token\nDISCORD_BOT_PREFIX=!\nDISCORD_CLIENT_ID=your-client-id\nDISCORD_GUILD_ID=your-guild-id (optional for testing)\n```\n\n## 📜 Usage\n\n### 🔥 Running the Bot\n\n#### Production Mode:\n```bash\nnpm run bot:start\n```\n\n#### Development Mode (hot reload):\n```bash\nnpm run dev\n```\n\n### ⚙️ Commands\n\n#### Deploying Slash Commands\n```bash\nnpm run bot:deploy\n```\n\n#### Deleting All Slash Commands\n```bash\nnpm run bot:delete\n```\n\n---\n\n## 📜 Available Commands\n\n| Command     | Type    | Description                    |\n|-------------|---------|---------------------------------|\n| `!help`     | Prefix   | Lists all available commands   |\n| `!info`     | Prefix   | Displays bot information       |\n| `!ping`     | Prefix   | Check bot and API latency      |\n| `!say`      | Prefix   | Make the bot repeat a message  |\n| `!server`   | Prefix   | Displays server information    |\n| `!user`     | Prefix   | Displays your user details     |\n\n## 🛡️ Moderation Slash Commands\n\n| Command     | Description                               |\n|-------------|-------------------------------------------|\n| `/ban`      | Bans a user                               |\n| `/unban`    | Unbans a user                             |\n| `/kick`     | Kicks a user                              |\n| `/mute`     | Mutes a user                              |\n| `/unmute`   | Unmutes a user                            |\n| `/timeout`  | Temporarily mutes a user                  |\n| `/untimeout`| Removes timeout                           |\n| `/warn`     | Warns a user                              |\n| `/purge`    | Bulk deletes messages                     |\n| `/slowmode` | Enables channel slowmode                  |\n\n\n---\n\n## 📚 Utilities\n\n- **Embed Builder** — Create reusable, styled Discord embeds\n- **Logger** — Color-coded logs for different levels (info, warn, error)\n- **Centralized Error Handler** — Catch and manage runtime errors\n\n---\n\n## 📚 Documentation\n\nComming Soon!\n\n---\n\n## 🤝 Contributing\n\nWe ❤️ contributions! Follow these steps to contribute:\n\n1. 🍴 **Fork** the repository\n2. 🌿 **Create** a new 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📖 _See our [Contribution Guidelines](CONTRIBUTING.md) for more details._\n\n---\n\n## 📄 License\n\nThis project is licensed under the **Apache-2.0 license**. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🎉 Acknowledgments\n\nSpecial thanks to:\n- [Discord.js](https://discord.js.org) team for the amazing library\n- [Node.js](https://nodejs.org) team\n- All open-source contributors 💖\n\n---\n\n## 📬 Contact \u0026 Community\n\n💬 Join us on **Discord**: [Click Here](https://discord.gg/H7pVc9aUK2)  \n🐦 **Follow on Twitter**: [@nexoscreation](https://twitter.com/nexoscreator)  \n📧 **Email**: [contact@nexoscreation.tech](mailto:contact@nexoscreation.tech)\n\n\u003cp align=\"center\"\u003e\n  Made with ❤️ by \u003ca href=\"https://github.com/nexoscreation\"\u003e@nexoscreation\u003c/a\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexoscreation%2Fbot-discord-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexoscreation%2Fbot-discord-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexoscreation%2Fbot-discord-template/lists"}