Try to consistently use "inherit" vs "derive" in documentation.

This commit is contained in:
Rapptz
2019-03-19 09:21:41 -04:00
parent d9e54d7dd3
commit c30a366106
5 changed files with 15 additions and 15 deletions

View File

@ -135,7 +135,7 @@ class Command(_BaseCommand):
checks
A list of predicates that verifies if the command could be executed
with the given :class:`.Context` as the sole parameter. If an exception
is necessary to be thrown to signal failure, then one derived from
is necessary to be thrown to signal failure, then one inherited from
:exc:`.CommandError` should be used. Note that if the checks fail then
:exc:`.CheckFailure` exception is raised to the :func:`.on_command_error`
event.
@ -1336,7 +1336,7 @@ def has_permissions(**perms):
:class:`.discord.Permissions`.
This check raises a special exception, :exc:`.MissingPermissions`
that is derived from :exc:`.CheckFailure`.
that is inherited from :exc:`.CheckFailure`.
Parameters
------------
@ -1402,7 +1402,7 @@ def bot_has_permissions(**perms):
the permissions listed.
This check raises a special exception, :exc:`.BotMissingPermissions`
that is derived from :exc:`.CheckFailure`.
that is inherited from :exc:`.CheckFailure`.
"""
def predicate(ctx):
guild = ctx.guild
@ -1424,7 +1424,7 @@ def guild_only():
using the command.
This check raises a special exception, :exc:`.NoPrivateMessage`
that is derived from :exc:`.CheckFailure`.
that is inherited from :exc:`.CheckFailure`.
"""
def predicate(ctx):