A powerful and modular Discord bot built with TypeScript for the Luna Modular App Server. Designed with scalability, performance, and user experience in mind.
-
Modern Architecture
- Built with TypeScript for enhanced type safety and developer experience
- Clean and modular folder structure for easy maintenance
- Efficient command handling system (both slash and prefix commands)
-
Command System
- Slash Commands: Modern Discord interaction support
- Prefix Commands: Traditional text-based commands
- Event System: Robust event handling architecture
-
Utility Features
- Voice Stats Tracking
- Reminder System
- Leaderboard System
- Custom Embed Creator
- Random Hex Color Generator
- And more!
-
Management & Security
- Centralized role permission management via
idclass.ts - Error logging and handling system
- Database integration with better-sqlite3
- Centralized role permission management via
- Node.js (v18 or higher)
- npm (comes with Node.js)
- A Discord Bot Token (Create a bot here)
- Fork and clone the repository:
git clone https://github.com/your-username/Luna-Bot.git
cd Luna-Bot- Install dependencies:
npm install- Configure the bot:
- Rename
example.envto.env - Fill in your bot token and other required values
- Rename
- Double-click
run.batOR - Run in terminal:
npx ts-node luna.ts
npx ts-node luna.tsContributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch
- Submit a Pull Request
This project is licensed under the MIT License.
If you like this project, please star us on GitHub