mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add auto_mod_badge to ApplicationFlags
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user