aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack1142 <[email protected]>2021-01-14 09:17:18 +0100
committerGitHub <[email protected]>2021-01-14 03:17:18 -0500
commited2650f7864229464b3317c08abde4345959f191 (patch)
treeee1b8fdf64daf3007b825de500b7d1f944b04295
parentUpdate add_roles docstring to mention role order. (diff)
downloaddiscord.py-ed2650f7864229464b3317c08abde4345959f191.tar.xz
discord.py-ed2650f7864229464b3317c08abde4345959f191.zip
Fix documented type of `Command.usage`
-rw-r--r--discord/ext/commands/core.py2
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.