aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-08-10 05:43:17 -0700
committerGravatar GitHub <[email protected]>2021-08-10 05:43:17 -0700
commit9fe677a3c1be9f76c7db685e7659bdd11324f351 (patch)
treee8fec420bba0f6b6d85e0e7d4a47a84ac620559f
parentMerge pull request #1727 from onerandomusername/patch-1 (diff)
parentFixed error message to match true value (diff)
Merge pull request #1732 from SuperstalkerX/patch-1
Fixed error message to match true value
Diffstat (limited to '')
-rw-r--r--bot/pagination.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/pagination.py b/bot/pagination.py
index 90d7c84ee..26caa7db0 100644
--- a/bot/pagination.py
+++ b/bot/pagination.py
@@ -75,7 +75,7 @@ class LinePaginator(Paginator):
raise ValueError(f"scale_to_size must be >= max_size. ({scale_to_size} < {max_size})")
if scale_to_size > 4000:
- raise ValueError(f"scale_to_size must be <= 2,000 characters. ({scale_to_size} > 4000)")
+ raise ValueError(f"scale_to_size must be <= 4,000 characters. ({scale_to_size} > 4000)")
self.scale_to_size = scale_to_size - len(suffix)
self.max_lines = max_lines