Calc
This is the cog guide for the calc cog. You will find detailed docs about usage and commands.
[p] is considered as your prefix.
Usage
Calculate simple mathematical expressions.
Use the calc command to open an interactive calculator using buttons.
You can also enable automatic calculation detection with the calcset autocal command.
When enabled, the bot will react with ➕ to messages containing valid calculations.
Commands
calc
Syntax
[p]calc [expression]
Description
Start an interactive calculator using buttons.
If an expression is given, it will be prefilled and calculated.
calcset
Syntax
[p]calcset
Description
Calculator settings.
calcset autocal
Note
This command is locked to server admins.
Syntax
[p]calcset autocal [enabled]
Description
Toggle automatic calculation detection.
When enabled, the bot will react with ➕ to messages containing valid calculations. If the message author reacts with ➕ too, the bot will send the calculation result.