Skip to content

Commit 435314c

Browse files
authored
Update flags.py
1 parent 9521838 commit 435314c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

discord/flags.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,11 +551,12 @@ def none(cls: Type[Intents]) -> Intents:
551551
@classmethod
552552
def default(cls: Type[Intents]) -> Intents:
553553
"""A factory method that creates a :class:`Intents` with everything enabled
554-
except :attr:`presences`, :attr:`members`, and :attr:`guild_messages`.
554+
except :attr:`presences`, :attr:`members`, :attr:`messages`, and :attr:`guild_messages`.
555555
"""
556556
self = cls.all()
557557
self.presences = False
558558
self.members = False
559+
self.messages = False
559560
self.guild_messages = False
560561
return self
561562

@@ -778,8 +779,9 @@ def messages(self):
778779
779780
.. note::
780781
781-
Currently, this requires opting in explicitly via the developer portal as well.
782+
Currently requires opting in explicitly via the developer portal to receive the actual content of the guild messages.
782783
Bots in over 100 guilds will need to apply to Discord for verification.
784+
See https://support-dev.discord.com/hc/en-us/articles/4404772028055-Message-Content-Access-Deprecation-for-Verified-Bots for more information.
783785
"""
784786
return (1 << 9) | (1 << 12)
785787

0 commit comments

Comments
 (0)