mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +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):
|
def embedded(self):
|
||||||
""":class:`bool`: Returns ``True`` if the application is embedded within the Discord client."""
|
""":class:`bool`: Returns ``True`` if the application is embedded within the Discord client."""
|
||||||
return 1 << 17
|
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