Skip to content

Commit

Permalink
idk..
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Nov 3, 2021
1 parent 435314c commit 5bd5e29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discord/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,11 @@ def none(cls: Type[Intents]) -> Intents:
@classmethod
def default(cls: Type[Intents]) -> Intents:
"""A factory method that creates a :class:`Intents` with everything enabled
except :attr:`presences`, :attr:`members`, :attr:`messages`, and :attr:`guild_messages`.
except :attr:`presences`, :attr:`members` and :attr:`guild_messages`.
"""
self = cls.all()
self.presences = False
self.members = False
self.messages = False
self.guild_messages = False
return self

Expand Down

0 comments on commit 5bd5e29

Please sign in to comment.