aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/doc/_parsing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_parsing.py b/bot/exts/info/doc/_parsing.py
index 280a0c8f2..173051650 100644
--- a/bot/exts/info/doc/_parsing.py
+++ b/bot/exts/info/doc/_parsing.py
@@ -101,7 +101,7 @@ def _truncate_signatures(signatures: Collection[str]) -> Union[List[str], Collec
inversely proportional to the amount of signatures.
A maximum of `_MAX_SIGNATURE_AMOUNT` signatures is assumed to be passed.
"""
- if not sum(len(signature) for signature in signatures) > _MAX_SIGNATURES_LENGTH:
+ if sum(len(signature) for signature in signatures) <= _MAX_SIGNATURES_LENGTH:
return signatures
max_signature_length = _EMBED_CODE_BLOCK_LINE_LENGTH * (MAX_SIGNATURE_AMOUNT + 1 - len(signatures))