Add auto_mod_badge to ApplicationFlags

This commit is contained in:
Andrin S
2023-04-18 14:55:18 +02:00
committed by GitHub
parent 4e276f59d7
commit 4615d6848a

View File

@ -1422,6 +1422,15 @@ class ApplicationFlags(BaseFlags):
rather than using this raw value.
"""
@flag_value
def auto_mod_badge(self):
""":class:`bool`: Returns ``True`` if the application uses auto moderation.
This shows up as a badge in the official client.
.. versionadded:: 2.3
"""
return 1 << 6
@flag_value
def gateway_presence(self):
""":class:`bool`: Returns ``True`` if the application is verified and is allowed to