aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorSebastian Law <[email protected]>2020-09-23 21:17:37 -0700
committerGitHub <[email protected]>2020-09-24 00:17:37 -0400
commit2974663367dfc924fbfb0fa5b7f2c39b71742ce9 (patch)
tree42bace4530a51d4825f0666a3cdbd13a5888927a /discord
parentAdd support for flag alias (diff)
downloaddiscord.py-2974663367dfc924fbfb0fa5b7f2c39b71742ce9.tar.xz
discord.py-2974663367dfc924fbfb0fa5b7f2c39b71742ce9.zip
Fix typos in Intents documentation
Diffstat (limited to 'discord')
-rw-r--r--discord/flags.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/discord/flags.py b/discord/flags.py
index 57695912..3c5da0fb 100644
--- a/discord/flags.py
+++ b/discord/flags.py
@@ -465,11 +465,11 @@ class Intents(BaseFlags):
This also corresponds to the following attributes and classes in terms of cache:
- - :attr:`Client.get_all_members`
+ - :meth:`Client.get_all_members`
- :meth:`Guild.chunk`
- :meth:`Guild.fetch_members`
- - :meth:`Guild.members`
- :meth:`Guild.get_member`
+ - :attr:`Guild.members`
- :attr:`Member.roles`
- :attr:`Member.nick`
- :attr:`Member.premium_since`
@@ -601,10 +601,10 @@ class Intents(BaseFlags):
This corresponds to the following events:
- :func:`on_message` (both guilds and DMs)
- - :func:`on_message_update` (both guilds and DMs)
+ - :func:`on_message_edit` (both guilds and DMs)
- :func:`on_message_delete` (both guilds and DMs)
- :func:`on_raw_message_delete` (both guilds and DMs)
- - :func:`on_raw_message_update` (both guilds and DMs)
+ - :func:`on_raw_message_edit` (both guilds and DMs)
- :func:`on_private_channel_create`
This also corresponds to the following attributes and classes in terms of cache:
@@ -629,10 +629,10 @@ class Intents(BaseFlags):
This corresponds to the following events:
- :func:`on_message` (only for guilds)
- - :func:`on_message_update` (only for guilds)
+ - :func:`on_message_edit` (only for guilds)
- :func:`on_message_delete` (only for guilds)
- :func:`on_raw_message_delete` (only for guilds)
- - :func:`on_raw_message_update` (only for guilds)
+ - :func:`on_raw_message_edit` (only for guilds)
This also corresponds to the following attributes and classes in terms of cache:
@@ -656,10 +656,10 @@ class Intents(BaseFlags):
This corresponds to the following events:
- :func:`on_message` (only for DMs)
- - :func:`on_message_update` (only for DMs)
+ - :func:`on_message_edit` (only for DMs)
- :func:`on_message_delete` (only for DMs)
- :func:`on_raw_message_delete` (only for DMs)
- - :func:`on_raw_message_update` (only for DMs)
+ - :func:`on_raw_message_edit` (only for DMs)
- :func:`on_private_channel_create`
This also corresponds to the following attributes and classes in terms of cache: