wildphp / module-calculator
This package is abandoned and no longer maintained.
No replacement package was suggested.
Calculator module for WildPHP
v1.0.0-beta.1
2017-07-25 16:54 UTC
Requires
- mossadal/math-parser: ^1.3
This package is auto-updated.
Last update: 2023-03-25 21:23:20 UTC
README
Calculator module for WildPHP, allowing calculation of expressions from IRC and Telegram.
System Requirements
If your setup can run the main bot, it can run this module as well.
Installation
To install this module, we will use composer
:
composer require wildphp/module-calculator
That will install all required files for the module. In order to activate the module, add the following line to your modules array in config.neon
:
- WildPHP\Modules\Calculator\Calculator
The bot will run the module the next time it is started.
Usage
Pass any mathematical expression to the calc
command.
License
This module is licensed under the MIT license. Please see LICENSE
to read it.