Skip to content

Commit

Permalink
Add app 1<<24
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Nov 10, 2022
1 parent 87b54fd commit 0eafaf0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#1702](https://github.com/Pycord-Development/pycord/pull/1702))
- New user flag: `PublicUserFlags.active_developer`.
([#1776](https://github.com/Pycord-Development/pycord/pull/1776))
- New application flag: `ApplicationFlags.active_application`.
([#1776](https://github.com/Pycord-Development/pycord/pull/1776))

### Fixed

Expand Down
9 changes: 9 additions & 0 deletions discord/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,15 @@ def app_commands_badge(self):
"""
return 1 << 23

@flag_value
def active_application(self):
""":class:`bool`: Returns ``True`` if the app is considered active.
This means that it has had any global command executed in the past 30 days.
.. versionadded:: 2.3
"""
return 1 << 24


@fill_with_flags()
class ChannelFlags(BaseFlags):
Expand Down

0 comments on commit 0eafaf0

Please sign in to comment.