You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""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`and :attr:`members`.
555
555
"""
556
556
self=cls.all()
557
557
self.presences=False
558
558
self.members=False
559
-
self.guild_messages=False
560
559
returnself
561
560
562
561
@flag_value
@@ -774,12 +773,11 @@ def messages(self):
774
773
- :func:`on_reaction_remove` (both guilds and DMs)
775
774
- :func:`on_reaction_clear` (both guilds and DMs)
776
775
777
-
Since this includes :attr:`guild_messages`, this intent is privileged. For more information go to the :ref:`message content intent documentation <need_message_content_intent>`.
778
-
779
776
.. note::
780
777
781
-
Currently, this requires opting in explicitly via the developer portal as well.
778
+
Currentlyrequires opting in explicitly via the developer portal to receive the actual content of the guild messages.
782
779
Bots in over 100 guilds will need to apply to Discord for verification.
780
+
See https://support-dev.discord.com/hc/en-us/articles/4404772028055-Message-Content-Access-Deprecation-for-Verified-Bots for more information.
783
781
"""
784
782
return (1<<9) | (1<<12)
785
783
@@ -808,12 +806,20 @@ def guild_messages(self):
808
806
- :func:`on_reaction_remove` (only for guilds)
809
807
- :func:`on_reaction_clear` (only for guilds)
810
808
809
+
Without the :attr:`ApplicationFlags.gateway_message_content` intent enabled, the following fields are either an empty string or empty array:
810
+
811
+
- :attr:`Message.content`
812
+
- :attr:`Message.embeds`
813
+
- :attr:`Message.attachments`
814
+
- :attr:`Message.components`
815
+
811
816
For more information go to the :ref:`message content intent documentation <need_message_content_intent>`.
812
817
813
818
.. note::
814
819
815
-
Currently, this requires opting in explicitly via the developer portal as well.
820
+
Currentlyrequires opting in explicitly via the developer portal to receive the actual content of the messages.
816
821
Bots in over 100 guilds will need to apply to Discord for verification.
822
+
See https://support-dev.discord.com/hc/en-us/articles/4404772028055-Message-Content-Access-Deprecation-for-Verified-Bots for more information.
0 commit comments