Rapptz
7c0be1cade
[commands] Raise exception if Paginator gets a line that is too big.
...
Fixes #340
2016-09-26 23:26:26 -04:00
PapyrusThePlant
3ec9b7fb97
[commands] Make HelpFormatter ignore hidden commands for max_width.
2016-07-30 13:27:41 -04:00
Rapptz
166d8257ec
[commands] Refactor pagination into its own class.
...
This change allows users to more easily create their own formatters
without having to reinvent the pagination logic themselves. Hopefully
this makes it less of a pain for people to create custom help pages.
2016-07-05 21:44:14 -04:00
Rapptz
661645ac97
[commands] Add Command.qualified_name to get the full command name.
...
This also sets `__str__` to do the same thing.
2016-06-04 22:31:00 -04:00
Rapptz
054c9c7109
[commands] CommandError derived exceptions in checks don't crash help.
2016-04-13 14:25:45 -04:00
Rapptz
4451091c91
[commands] Fix pagination logic a little inside HelpFormatter.
...
This should prevent pages accidentally reaching >2k chars.
2016-04-02 08:15:34 -04:00
Rapptz
17e17cade9
[commands] Fix crash when a group has no commands and help is requested
2016-01-30 20:29:58 -05:00
Rapptz
7056a1f0ec
[commands] Change signature convention to use POSIX standards.
2016-01-29 21:40:19 -05:00
Rapptz
d8d4c4e843
[commands] Fix typo on HelpFormatter.show_check_failure attribute.
2016-01-27 06:37:31 -05:00
Rapptz
bb5e222f29
[commands] Add Bot.help_attrs to customise the help command.
...
The help message now uses the invoked_with attribute of the context to
get the name of the command it uses instead of a hardcoded help.
2016-01-23 03:43:54 -05:00
Rapptz
a82176120c
[commands] help command now uses the full name in the signature.
2016-01-17 17:17:30 -05:00
Rapptz
b335e9ea30
[commands] Support invoking the help command with a cog name.
2016-01-12 00:45:45 -05:00
Rapptz
958d278771
[commands] Initial implementation of help command.
2016-01-11 23:59:11 -05:00