mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 08:17:47 +00:00
Mark intent alias flags as actual aliases to skip them in __iter__
Fix #5945
This commit is contained in:
parent
1c03a4aac9
commit
b91ddc6f4e
@ -594,7 +594,7 @@ class Intents(BaseFlags):
|
||||
"""
|
||||
return 1 << 8
|
||||
|
||||
@flag_value
|
||||
@alias_flag_value
|
||||
def messages(self):
|
||||
""":class:`bool`: Whether guild and direct message related events are enabled.
|
||||
|
||||
@ -677,7 +677,7 @@ class Intents(BaseFlags):
|
||||
"""
|
||||
return 1 << 12
|
||||
|
||||
@flag_value
|
||||
@alias_flag_value
|
||||
def reactions(self):
|
||||
""":class:`bool`: Whether guild and direct message reaction related events are enabled.
|
||||
|
||||
@ -740,7 +740,7 @@ class Intents(BaseFlags):
|
||||
"""
|
||||
return 1 << 13
|
||||
|
||||
@flag_value
|
||||
@alias_flag_value
|
||||
def typing(self):
|
||||
""":class:`bool`: Whether guild and direct message typing related events are enabled.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user