The Enmity Calculator Plugin is designed for use with the popular Discord client mod "Enmity." This plugin provides a powerful calculator functionality accessible through slash commands, allowing users to perform various mathematical operations, including addition, subtraction, multiplication, and division. The plugin now also supports pi calculations and includes an option to copy the result to the clipboard, enhancing its versatility and usefulness.
- Perform basic arithmetic operations: addition, subtraction, multiplication, and division.
- Support for calculations involving floating-point numbers (decimals).
- Calculate using the mathematical constant "pi" for more complex computations.
- Option to copy the result of calculations to the clipboard for easy sharing.
If you just want to use the plugin without building it yourself, you can find the prebuilt version in the "dist" folder.
- Open your terminal (or command prompt) and navigate to the repository directory:
cd /path/to/your/repo
- Install dependencies using npm:
npm install
- Build the plugin using this command:
npm run build