aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/help.py
Commit message (Collapse)AuthorAgeFilesLines
* Use MISSING instead of None for HelpCommand.contextRapptz2021-08-251-1/+1
| | | | It's basically just late-init
* [commands][types] Type hint commands-extJosh2021-08-191-1/+7
|
* Fix various reference issues in documentationJosh2021-05-061-6/+5
| | | | Co-Authored-By: Riley Shaw <[email protected]>
* [commands] Fix _HelpCommandImpl.clean_params popitemStella2021-04-231-2/+2
|
* Fix typo within `HelpCommand.verify_checks` documentationKino2021-04-211-1/+1
|
* [commands] Remove HelpCommand.clean_prefix (#6736)pikaninja2021-04-151-19/+7
|
* [commands] Strip text to remove spaces before ellipsisKreusada2021-04-111-1/+1
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-19/+23
|
* Modernize code to use f-stringsRapptz2021-04-041-20/+19
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* [commands] Remove nullability from help command implementationRapptz2021-03-281-16/+3
| | | | Fixes #5154
* [commands] Include group args in command signaturejack11422021-03-241-4/+13
|
* [commands] Added tribool behaviour to HelpCommand.verify_checkssudosnok2021-02-241-3/+11
|
* [commands] Add linesep kwarg to PaginatorPikalaxALT2021-01-171-9/+17
|
* [commands] Fix Command duplicates in `HelpCommand.get_bot_mapping`Alex Nørgaard2021-01-161-1/+1
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Fix and add documentationMichael2020-09-231-4/+23
|
* [commands] implement HelpCommand.add/remove_checkRiley S2020-08-051-0/+43
|
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-281-1/+1
|
* Escape backslashes in display name in `clean_prefix`jack11422020-05-071-1/+1
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Patch clean_prefix for new text editorMichael H2020-01-141-1/+2
| | | The new editor seems to force mentions to have ! even without a nick.
* [commands] check if prefix is None in .pagesStarrFox2019-12-171-1/+1
|
* Fix typo in help.py docsNelluk2019-11-261-1/+1
| | | Changed "intend" to "indent"
* [commands] Fix up Paginator documentation.Rapptz2019-06-291-2/+2
| | | | These aren't optional.
* [commands] Calculate suffix length at each add_lineMatt (IPv4) Cowley2019-06-291-3/+7
|
* [commands] Add missing word in HelpCommand documentationHarmon2019-06-201-1/+1
|
* Improve documentationNCPlayz2019-06-071-1/+1
|
* [commands] MinimalHelpCommand: add cog descriptionBenjamin Mintz2019-05-091-0/+3
|
* [commands] Copy HelpCommand instances to prevent race conditions.Rapptz2019-04-291-29/+52
| | | | | | | | Fixes #2123 Slight breaking change if someone had an expectation that no copies were made behind the scene (which is sensible), however writing code that relies on this expectation is probably buggy anyway.
* Consistent use of __all__ to prevent merge conflicts.Rapptz2019-04-201-2/+2
|
* [commands] Missing an extra ] in the documented return type.Rapptz2019-04-191-1/+1
|
* [commands] Remove extraneous `or`Rapptz2019-04-061-1/+1
|
* [commands] Fix HelpCommand.invoked_with when used in events.Rapptz2019-04-061-2/+3
|
* [commands] Fix MinimalHelpCommand opening note signature consistencyRapptz2019-03-241-4/+4
|
* [commands] Add HelpCommand.invoked_withRapptz2019-03-241-2/+22
| | | | | This fixes an issue where the context invoked_with does not match the actual invoked with behaviour (e.g. using Context.send_help).
* Try to consistently use "inherit" vs "derive" in documentation.Rapptz2019-03-191-2/+2
|
* Organise documentationNCPlayz2019-03-191-3/+2
|
* Fix pagination of huge command help messages (> ~2,000 chars)slice2019-03-161-2/+12
| | | | | | | | | | Previously, calls to add_line in add_command_formatting of default help commands would fail if the command's help message would overflow the current page. This would also result in silent failure as the RuntimeError raised from add_line is never caught. This patch adds behavior that adds lines individually should it raise, which guarantees safe pagination as long as every line is smaller than the maximum page size, which is highly unlikely.
* [commands] Assign context inside HelpCommand.prepare_help_commandRapptz2019-03-161-3/+9
|
* [commands] Add HelpCommand.get_bot_mapping helper.Rapptz2019-03-161-5/+11
|
* [commands] Return result of send_group_help and send_command_helpRapptz2019-03-161-2/+2
|
* [commands] Add back dm_help tribool for the provided HelpCommandsRapptz2019-03-161-0/+42
| | | | Also add a dm_help_threshold integer to control the length.
* [commands] Add commands.Paginator.__len__Rapptz2019-03-161-0/+10
|
* [commands] Redesign HelpFormatter into HelpCommandRapptz2019-03-151-0/+1144
Part of #1938