mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add ApplicationFlags.active
This commit is contained in:
@ -1434,6 +1434,15 @@ class ApplicationFlags(BaseFlags):
|
||||
command. This shows up as a badge in the official client."""
|
||||
return 1 << 23
|
||||
|
||||
@flag_value
|
||||
def active(self):
|
||||
""":class:`bool`: Returns ``True`` if the application has had at least one global application
|
||||
command used in the last 30 days.
|
||||
|
||||
.. versionadded:: 2.1
|
||||
"""
|
||||
return 1 << 24
|
||||
|
||||
|
||||
@fill_with_flags()
|
||||
class ChannelFlags(BaseFlags):
|
||||
|
Reference in New Issue
Block a user