aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index 1c9b4d9a..db066a36 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -157,7 +157,7 @@ class Paginator:
def pages(self):
"""Returns the rendered list of pages."""
# we have more than just the prefix in our current page
- if len(self._current_page) > 1:
+ if len(self._current_page) > (0 if self.prefix is None else 1):
self.close_page()
return self._pages