@reaxion/core v1.0.1
Reaxion Project
Reaxion is a modular application designed to handle interactive modals using Discord's API. This project provides a flexible and chainable modal builder that allows developers to create and manage modals with ease.
Table of Contents
Installation
To get started with Reaxion, clone the repository and install the necessary dependencies:
git clone https://github.com/yourusername/reaxion.git
cd reaxion
npm installMake sure you have Node.js installed on your machine. You can download it from nodejs.org.
Usage
After installing the dependencies, you can start using the ModalHandler in your Discord bot. Here’s a basic example of how to use it:
import { modal } from './src/core/index.js';
// Example of showing a modal
async function showModal(interaction) {
await modal.feedback('Feedback Form').show(interaction);
}For more detailed usage instructions, refer to the documentation in the src/core/modal.js file.
Contributing
Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.