UNPKG

makecord-create

Version:

Create advanced Discord Bots with Makecord - Now with TypeScript support

90 lines (68 loc) • 2.06 kB
<div align="center"> <img src="https://iili.io/3U6spKg.png" alt="Makecord" width="300"> <h1>Makecord v3.0.0</h1> <p>Create advanced Discord Bots with ease</p> </div> <div align="center"> ![Discord.js Version](https://img.shields.io/badge/discord.js-v14.19.3-blue.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg) </div> ## šŸš€ Quick Start ```bash npx makecord-create ``` This command will launch an interactive CLI that guides you through creating your Discord bot project. ## ✨ Features - **Modern Discord.js v14.19.3 support** - **Multiple language options:** - JavaScript - TypeScript - **Multiple database integrations:** - MongoDB - SQLite - PostgreSQL - **Advanced command handlers:** - Classic - Advanced with categories - Minimal - **Slash Commands support** - **REST API integration** - **Hot-reloading for development** - **Docker support** - **GitHub Actions workflows** - **Colorful terminal output** - **Type-safe configurations** ## šŸ› ļø CLI Options ```bash # Use with default options npx makecord-create -y # Create TypeScript project npx makecord-create -t # Skip dependency installation npx makecord-create --no-install # Show debug information npx makecord-create --debug ``` ## šŸ“ Project Structure ``` src/ ā”œā”€ā”€ commands/ # Regular message commands ā”œā”€ā”€ slashCommands/ # Slash commands ā”œā”€ā”€ events/ # Discord.js event handlers ā”œā”€ā”€ handlers/ # Command and event loaders ā”œā”€ā”€ utils/ # Utility functions ā”œā”€ā”€ api/ # REST API (if enabled) ā”œā”€ā”€ database/ # Database models (if enabled) ā”œā”€ā”€ config.js # Bot configuration └── index.js # Bot main file ``` ## šŸš€ After Installation 1. Edit `.env` file and add your bot token 2. Start the bot: - For development: `npm run dev` - For production: `npm start` 3. For TypeScript projects, build with: `npm run build` ## šŸ“„ License MIT ## šŸ‘Øā€šŸ’» Author Created with ā¤ļø by LuziXP