An NPM package that allows you to create a modular Discord bot. Each module handles a distinct functionality, with inter-module capabilities for optimal use.
This project provides a CLI to initialize and manage modular Discord bots, making it easy to add commands, entities, events, and buttons.
- 📦 Easy installation and configuration.
- 🔧 Modular management of functionalities.
- ⚙️ Intuitive commands to create modules, commands, entities, events, and buttons.
- 🔄 Interconnectivity between modules.
To install the CLI, use npm:
npm i -g @zachary_masson/modular-cli
In your project working directory, run the following command to initialize the main files:
modular
The CLI will prompt you to initialize the project, installing all the necessary main files.
Once initialization is complete, run modular
again to access the following options:
New Module
New Command
New Entity
New Event
New Button
To start correctly, choose New Module
to create a module. This will structure your Discord bot into distinct and interconnected functionalities.
-
Install the CLI:
npm i -g @zachary_masson/modular-cli
-
Initialize the project:
modular
-
Create a new module:
modular # Select "New Module"
-
Add commands, entities, events, and buttons:
modular # Select "New Command", "New Entity", "New Event", or "New Button"
Contributions are welcome! If you have improvement ideas or bugs to report, please submit an issue or a pull request.
- Zachary Masson - Lead Developer - GitHub Profile
This project is licensed under the Apache 2.0. See the LICENSE file for details.
- 🙏 Thanks to all contributors and users of the library.