{"repo":"sunarjs/sunar","free":true,"listed":false,"github":"https://github.com/sunarjs/sunar","clone":"git clone https://github.com/sunarjs/sunar.git","description":"A simple and easy to use discord.js framework.","language":"TypeScript","stars":76,"topics":["discord","discord-bot","discord-handler","discord-js","framework","handler","javascript","typescript"],"license":"MIT","category":"chat-messaging","readme_excerpt":"A simple and easy to use Discord.js framework that provides a structured approach to building Discord bots with ESM-only support, built-in command handling, and modular architecture. Note : This project is actively maintained and continuously improved. Check the changelog for latest updates. 🚀 Features - 🎯 Type-Safe : Full TypeScript support with comprehensive type definitions - ⚡ Modern : Built for Discord.js v14 with ESM support - 🔧 Modular : Clean separation of concerns with builders, handlers, and stores - 🛡️ Protected : Built-in cooldown and permission protection system - 🎨 Flexible : Support for slash commands, buttons, modals, context menus, and more - 📦 Tree-Shakable : Optimized bundle size with selective imports - 🔄 Auto-Loading : Automatic command registration and file loading - 🎪 Signals : Custom event system for enhanced bot functionality 📦 Installation Note : Sunar is ESM-only . Make sure your project has \"type\": \"module\" in your package.json or use .mjs file extensions. 🏁 Quick Start 1. Initialize the client 2. Create your first signal ⚠️ Command Registration Best Practices: - Development : Use registerCommands() for quick testing and development - Production : Create a separate deployment script to register commands only when needed - Guild-specific : Use registerGuildCommands() for testing in specific servers - Global : Use registerGlobalCommands() for production deployment Registering commands on every bot startup can hit Discord's rate limits and i","default_branch":null,"files":null,"tree":[],"storefront":"/r/sunarjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sunarjs/sunar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}