Firebot
Firebot copied to clipboard
[Bug] $min and $max variables ignore decimal numbers
Description
The $min and $max variables ignore any decimal point values (eg. 3.5, 8.2)
Steps to Reproduce
- Open DevTools
- Create a Log Message Effect
- Enter "$min[3.5, 3.6]" or "$max[3.5, 3.6]"
- Run the effect
- Observe in devtools, the variable returns null
Expected Behavior
for the variable to return the minimum or maximum decimal value
Firebot Version
v5.63.2
Submitted By
dennisoti
Created via Discord.
👍🏻
Released in v5.65.0