1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 22:27:28 +00:00

Commented out WIP HelpFormatter to temp fix help command

This commit is contained in:
Myned 2017-11-20 05:57:41 -05:00
parent f4e34b3a90
commit fe5fa3c518

View file

@ -23,9 +23,34 @@ from utils import utils as u
log.basicConfig(level=log.WARNING) log.basicConfig(level=log.WARNING)
class HelpFormatter(commands.HelpFormatter): # class HelpFormatter(commands.HelpFormatter):
async def format(): #
pass # async def format(self):
# self._paginator = commands.Paginator()
#
# # we need a padding of ~80 or so
#
# description = self.command.description if not self.is_cog() else inspect.getdoc(self.command)
#
# if description:
# # <description> portion
# self._paginator.add_line(description, empty=True)
#
# if isinstance(self.command, commands.Command):
# # <signature portion>
# signature = self.get_command_signature()
# self._paginator.add_line(signature, empty=True)
#
# # <long doc> section
# if self.command.help:
# self._paginator.add_line(self.command.help, empty=True)
#
# # end it here if it's just a regular command
# if not self.has_subcommands():
# self._paginator.close_page()
# return self._paginator.pages
#
# max_width = self.max_name_size
def get_prefix(bot, message): def get_prefix(bot, message):