aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin
diff options
context:
space:
mode:
authorTeddy Wing2017-08-20 14:13:04 +0200
committerTeddy Wing2017-08-20 15:15:14 +0200
commit5d01ba1990e99785b947c2aca71367ea5b21dce2 (patch)
treeff947a54721840361a1522932303f596adacec6b /src/Plugin
parent38426cef12f9e6a47746e5be8734b15b31dc0b11 (diff)
downloadsorbot-5d01ba1990e99785b947c2aca71367ea5b21dce2.tar.bz2
Factorial: Include upper bound in description
Let users know how much factorial they can calculate.
Diffstat (limited to 'src/Plugin')
-rw-r--r--src/Plugin/Factorial.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Plugin/Factorial.hs b/src/Plugin/Factorial.hs
index 97730de..796ef14 100644
--- a/src/Plugin/Factorial.hs
+++ b/src/Plugin/Factorial.hs
@@ -14,7 +14,8 @@ factorial = Plugin
{ matchRegex = "^([0-9]+)!$"
, perform = factorialAction
, command = "<integer>!"
- , description = "Calculate the factorial of <integer>"
+ , description = "Calculate the factorial of <integer> for whole numbers \
+ \up to 35000."
}
factorialAction :: PluginAction