diff options
| author | Kaeptm Blaubaer <[email protected]> | 2019-03-16 10:32:59 +0100 |
|---|---|---|
| committer | Danny <[email protected]> | 2019-03-16 05:32:59 -0400 |
| commit | b506ee1b8e1feee27a35b3a83cc5a2c4c068361b (patch) | |
| tree | 1f2325900b4041a2ae8326eb8d0b8e687a8f0703 /discord/ext/commands/context.py | |
| parent | Update README (diff) | |
| download | discord.py-b506ee1b8e1feee27a35b3a83cc5a2c4c068361b.tar.xz discord.py-b506ee1b8e1feee27a35b3a83cc5a2c4c068361b.zip | |
Change superclass to subclass in some documentation
Diffstat (limited to 'discord/ext/commands/context.py')
| -rw-r--r-- | discord/ext/commands/context.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index bef94f04..cdca61fa 100644 --- a/discord/ext/commands/context.py +++ b/discord/ext/commands/context.py @@ -53,13 +53,13 @@ class Context(discord.abc.Messageable): prefix: :class:`str` The prefix that was used to invoke the command. command - The command (i.e. :class:`.Command` or its superclasses) that is being + The command (i.e. :class:`.Command` or its subclasses) that is being invoked currently. invoked_with: :class:`str` The command name that triggered this invocation. Useful for finding out which alias called the command. invoked_subcommand - The subcommand (i.e. :class:`.Command` or its superclasses) that was + The subcommand (i.e. :class:`.Command` or its subclasses) that was invoked. If no valid subcommand was invoked then this is equal to `None`. subcommand_passed: Optional[:class:`str`] @@ -105,7 +105,7 @@ class Context(discord.abc.Messageable): Parameters ----------- command: :class:`.Command` - A command or superclass of a command that is going to be called. + A command or subclass of a command that is going to be called. \*args The arguments to to use. \*\*kwargs |