aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar univ <univ@archdevPC>2018-02-13 16:05:00 +0000
committerGravatar univ <univ@archdevPC>2018-02-13 16:05:00 +0000
commit3b0aeb5da041dea0b01dfcee4556514c64442c22 (patch)
tree822da48932f4bd15b6ac83886f365ca73b872c75
parentfixed broken import again (diff)
added example
-rw-r--r--bot/cogs/formatter.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bot/cogs/formatter.py b/bot/cogs/formatter.py
index 5d371bdf9..56f25fbd6 100644
--- a/bot/cogs/formatter.py
+++ b/bot/cogs/formatter.py
@@ -61,6 +61,14 @@ class Formatter(HelpFormatter):
return self._paginator.pages
+ # if not a specific command, help page will be in the format:
+ # class <cog1>:
+ # bot.<command1>() # <command1 help>
+ # class <cog2>:
+ # bot.<command2>() # <command2 help>
+ #
+ # # <ending help note>
+
max_width = self.max_name_size
def category_check(tup):