Browse Source

Fix typo and capitalizations in docs

pull/8166/head
will 3 years ago
committed by GitHub
parent
commit
d0a52f4276
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/ext/commands/bot.py
  2. 2
      docs/api.rst

4
discord/ext/commands/bot.py

@ -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.

2
docs/api.rst

@ -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.

Loading…
Cancel
Save