Fix typo and capitalizations in docs

This commit is contained in:
will 2022-06-20 10:02:53 +07:00 committed by GitHub
parent 64849ebcc8
commit d0a52f4276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1376,7 +1376,7 @@ class BotBase(GroupMixin[None]):
class Bot(BotBase, discord.Client):
"""Represents a discord bot.
"""Represents a Discord bot.
This class is a subclass of :class:`discord.Client` and as a result
anything that you can do with a :class:`discord.Client` you can do with
@ -1385,7 +1385,7 @@ class Bot(BotBase, discord.Client):
This class also subclasses :class:`.GroupMixin` to provide the functionality
to manage commands.
Unlike :class:`discord.Client`, This class does not require manually setting
Unlike :class:`discord.Client`, this class does not require manually setting
a :class:`~discord.app_commands.CommandTree` and is automatically set upon
instantiating the class.

View File

@ -1229,7 +1229,7 @@ Threads
.. function:: on_raw_thread_update(payload)
Called whenever a thread is update. Unlike :func:`on_thread_update` this
Called whenever a thread is updated. Unlike :func:`on_thread_update` this
is called regardless of the thread being in the internal thread cache or not.
This requires :attr:`Intents.guilds` to be enabled.