From 4615d6848aa0fa41ae0578f50f8a57430b344af3 Mon Sep 17 00:00:00 2001 From: Andrin S <65789180+Puncher1@users.noreply.github.com> Date: Tue, 18 Apr 2023 14:55:18 +0200 Subject: [PATCH] Add auto_mod_badge to ApplicationFlags --- discord/flags.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index 1b0005bd2..d0938583c 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -1422,6 +1422,15 @@ class ApplicationFlags(BaseFlags): 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 def gateway_presence(self): """:class:`bool`: Returns ``True`` if the application is verified and is allowed to