What is djs-core?
Djs-core is a framework for creating Discord bots with TypeScript. It uses a routing system inspired by frameworks like Nuxt or Next, leveraging a file system-based router to define your bot’s structure. Additionally, it automatically manages data flows that developers would otherwise need to handle manually.@djs-core/runtime
The core runtime library for your bot.
@djs-core/dev
Development tools and CLI for djs-core.
Key Features
djs-core provides a comprehensive set of features designed to simplify Discord bot development:- File-based Routing System: Organize your bot structure using the file system, similar to modern frameworks like Nuxt or Next.js.
- Automatic Handler Registration: Handlers are automatically discovered and registered based on your project structure.
- Full TypeScript Support: Built with TypeScript for type-safe development and excellent IDE support.
- Built on Discord.js: Leverages the power and reliability of the Discord.js library.
- Multiple Interaction Types: Supports commands, events, buttons, modals, select menus, and context menus out of the box.
- Auto Command Registration: Automatically registers slash commands on bot startup.
- Type-Safe Interactions: Fully typed interactions with autocompletion for better developer experience.
- Zero-Config Approach: Works out of the box with sensible defaults, no complex configuration required.
- Plugin System: Extensible architecture allowing for custom plugins and integrations. (Coming soon)
Next Steps
Ready to build your bot?Get started
Follow our guide to get your bot up and running in minutes.