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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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