mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-02 00:00:02 +00:00
Add auto_mod_badge to ApplicationFlags
This commit is contained in:
parent
4e276f59d7
commit
4615d6848a
@ -1422,6 +1422,15 @@ class ApplicationFlags(BaseFlags):
|
|||||||
rather than using this raw value.
|
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
|
@flag_value
|
||||||
def gateway_presence(self):
|
def gateway_presence(self):
|
||||||
""":class:`bool`: Returns ``True`` if the application is verified and is allowed to
|
""":class:`bool`: Returns ``True`` if the application is verified and is allowed to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user