diff options
author | 2020-06-28 01:11:10 -0400 | |
---|---|---|
committer | 2020-06-28 01:11:10 -0400 | |
commit | b3ba0b59940559881bc39ef39818a934753ff1c3 (patch) | |
tree | d56c6378a12c4f7da2489cf7ef6acb4541d17aae | |
parent | Lower LinePaginator max_size arg in CustomHelpCommand.send_bot_help (diff) |
In LinePaginator.__init__(), fix scale_to_size ValueError message
Co-authored-by: Mark <[email protected]>
-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 b047cf5fb..94c2d7c0c 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -70,7 +70,7 @@ class LinePaginator(Paginator): raise ValueError(f"scale_to_size must be >= max_size. ({scale_to_size} < {max_size})") if scale_to_size > 2000: - raise ValueError(f"max_size must be <= 2,000 characters. ({scale_to_size} > 2000)") + raise ValueError(f"scale_to_size must be <= 2,000 characters. ({scale_to_size} > 2000)") self.scale_to_size = scale_to_size - len(suffix) self.max_lines = max_lines |