From 2e2f20c6d5a7d938c1f9546dcf9a187694272e9a Mon Sep 17 00:00:00 2001 From: Server Bot Date: Sat, 12 Aug 2023 02:15:53 +0530 Subject: [PATCH] Fix Intents.auto_moderation flag to alias_flag_value --- discord/flags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/flags.py b/discord/flags.py index 546314855..420dfe8b9 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -1211,7 +1211,7 @@ class Intents(BaseFlags): """ return 1 << 16 - @flag_value + @alias_flag_value def auto_moderation(self): """:class:`bool`: Whether auto moderation related events are enabled.