From dad666651f32a264016e291dbed055c32a676ebc Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 10 Nov 2022 23:46:43 -0500 Subject: [PATCH] Add ApplicationFlags.active --- discord/flags.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index f2ca6a904..a3b9eb5f2 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -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):