mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-03 16:50:03 +00:00
Fix typo and capitalizations in docs
This commit is contained in:
parent
64849ebcc8
commit
d0a52f4276
@ -1376,7 +1376,7 @@ class BotBase(GroupMixin[None]):
|
|||||||
|
|
||||||
|
|
||||||
class Bot(BotBase, discord.Client):
|
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
|
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
|
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
|
This class also subclasses :class:`.GroupMixin` to provide the functionality
|
||||||
to manage commands.
|
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
|
a :class:`~discord.app_commands.CommandTree` and is automatically set upon
|
||||||
instantiating the class.
|
instantiating the class.
|
||||||
|
|
||||||
|
@ -1229,7 +1229,7 @@ Threads
|
|||||||
|
|
||||||
.. function:: on_raw_thread_update(payload)
|
.. 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.
|
is called regardless of the thread being in the internal thread cache or not.
|
||||||
|
|
||||||
This requires :attr:`Intents.guilds` to be enabled.
|
This requires :attr:`Intents.guilds` to be enabled.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user