code: def format(self):
          
  
          values = {}
          title = "Description"
          description = self.command.description + "\n\n" + self.get_ending_note() if not self.is_cog() else inspect.getdoc(self.command)
          sections = []
  
          if isinstance(self.command, Command):
                  description = self.command.short_doc
                  sections = [{"name": "Usage", "value": self.get_command_signature()},
                              {"name": "More Info", "value": self.command.help.replace(self.command.short_doc, "").format(prefix=self.clean_prefix),
                               "inline": False}]
  
          def category(tup):
              cog = tup[1].cog_name
              return cog + ':' if cog is not None else '\u200bNo Category:'
  
          if self.is_bot():
              title = self.bot.user.display_name + " Help"
              data = sorted(self.filter_command_list(), key=category)
              for category, commands in itertools.groupby(data, key=category):
                  section = {}
                  commands = list(commands)
                  if len(commands) > 0:
                      section['name'] = category
                  section['value'] = self.add_commands(commands)
                  section['inline'] = False
                  sections.append(section)
          elif not sections or self.has_subcommands():
              section = {"name": "Commands:", "inline": False, "value": self.add_commands(self.filter_command_list())}
              sections.append(section)
  
          values['title'] = title
          values['description'] = description
          values['sections'] = sections
          return values
docs: Handles the actual behaviour involved with formatting.
          To change the behaviour, this method should be overridden.
          Returns
          --------
          list
              A paginated output of the help command.