diff options
| author | 2021-08-09 17:31:24 -0500 | |
|---|---|---|
| committer | 2021-08-09 17:31:24 -0500 | |
| commit | 3d395b225c2bf0231273409244845be87e851d39 (patch) | |
| tree | e8fec420bba0f6b6d85e0e7d4a47a84ac620559f | |
| parent | Merge pull request #1727 from onerandomusername/patch-1 (diff) | |
Fixed error message to match true value
When the limit was raised, the error message was not edited to reflect the change.
https://github.com/python-discord/bot/commit/6f45d6896adb3f05962733cec8e5db199def20bc
| -rw-r--r-- | bot/pagination.py | 2 |
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 |