diff options
| author | jack1142 <[email protected]> | 2021-01-14 09:17:18 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-14 03:17:18 -0500 |
| commit | ed2650f7864229464b3317c08abde4345959f191 (patch) | |
| tree | ee1b8fdf64daf3007b825de500b7d1f944b04295 | |
| parent | Update add_roles docstring to mention role order. (diff) | |
| download | discord.py-ed2650f7864229464b3317c08abde4345959f191.tar.xz discord.py-ed2650f7864229464b3317c08abde4345959f191.zip | |
Fix documented type of `Command.usage`
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index b0358ca9..2d2291f4 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -144,7 +144,7 @@ class Command(_BaseCommand): The long help text for the command. brief: Optional[:class:`str`] The short help text for the command. - usage: :class:`str` + usage: Optional[:class:`str`] A replacement for arguments in the default help text. aliases: Union[List[:class:`str`], Tuple[:class:`str`]] The list of aliases the command can be invoked under. |