mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add message content intent application flags
This commit is contained in:
parent
352dcf9557
commit
de78a1071f
@ -1120,3 +1120,15 @@ class ApplicationFlags(BaseFlags):
|
||||
def embedded(self):
|
||||
""":class:`bool`: Returns ``True`` if the application is embedded within the Discord client."""
|
||||
return 1 << 17
|
||||
|
||||
@flag_value
|
||||
def gateway_message_content(self):
|
||||
""":class:`bool`: Returns ``True`` if the application is verified and is allowed to
|
||||
read message content in guilds."""
|
||||
return 1 << 18
|
||||
|
||||
@flag_value
|
||||
def gateway_message_content_limited(self):
|
||||
""":class:`bool`: Returns ``True`` if the application is unverified and is allowed to
|
||||
read message content in guilds."""
|
||||
return 1 << 19
|
||||
|
Loading…
x
Reference in New Issue
Block a user