Browse Source

Add auto_mod_badge to ApplicationFlags

pull/9367/head
Andrin S 2 years ago
committed by GitHub
parent
commit
4615d6848a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      discord/flags.py

9
discord/flags.py

@ -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

Loading…
Cancel
Save