mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Try to consistently use "inherit" vs "derive" in documentation.
This commit is contained in:
@@ -182,7 +182,7 @@ class BotBase(GroupMixin):
|
||||
This function can either be a regular function or a coroutine.
|
||||
|
||||
Similar to a command :func:`.check`\, this takes a single parameter
|
||||
of type :class:`.Context` and can only raise exceptions derived from
|
||||
of type :class:`.Context` and can only raise exceptions inherited from
|
||||
:exc:`.CommandError`.
|
||||
|
||||
Example
|
||||
@@ -255,7 +255,7 @@ class BotBase(GroupMixin):
|
||||
This function can either be a regular function or a coroutine.
|
||||
|
||||
Similar to a command :func:`.check`\, this takes a single parameter
|
||||
of type :class:`.Context` and can only raise exceptions derived from
|
||||
of type :class:`.Context` and can only raise exceptions inherited from
|
||||
:exc:`.CommandError`.
|
||||
|
||||
Example
|
||||
@@ -963,7 +963,7 @@ class Bot(BotBase, discord.Client):
|
||||
pass
|
||||
|
||||
class AutoShardedBot(BotBase, discord.AutoShardedClient):
|
||||
"""This is similar to :class:`.Bot` except that it is derived from
|
||||
"""This is similar to :class:`.Bot` except that it is inherited from
|
||||
:class:`discord.AutoShardedClient` instead.
|
||||
"""
|
||||
pass
|
||||
|
Reference in New Issue
Block a user