From dc50736bfc3340d7b999d9f165808f8dcb8f1a60 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 21 Jul 2022 15:00:40 -0400 Subject: [PATCH] Add ApplicationFlags.app_commands_badge --- discord/flags.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index bf5b46589..47674ab75 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -1417,6 +1417,12 @@ class ApplicationFlags(BaseFlags): read message content in guilds.""" return 1 << 19 + @flag_value + def app_commands_badge(self): + """:class:`bool`: Returns ``True`` if the application has registered a global application + command. This shows up as a badge in the official client.""" + return 1 << 23 + @fill_with_flags() class ChannelFlags(BaseFlags):