Browse Source
Add message content to the Intents.default docstring
pull/7494/head
Vaskel
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
discord/flags.py
|
|
@ -509,7 +509,7 @@ class Intents(BaseFlags): |
|
|
|
@classmethod |
|
|
|
def default(cls: Type[Intents]) -> Intents: |
|
|
|
"""A factory method that creates a :class:`Intents` with everything enabled |
|
|
|
except :attr:`presences` and :attr:`members`. |
|
|
|
except :attr:`presences`, :attr:`members`, and :attr:`message_content`. |
|
|
|
""" |
|
|
|
self = cls.all() |
|
|
|
self.presences = False |
|
|
|