From b91ddc6f4ea347dd7d32a1548931d7d610492fff Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 17 Oct 2020 18:50:56 -0400 Subject: [PATCH] Mark intent alias flags as actual aliases to skip them in __iter__ Fix #5945 --- discord/flags.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/flags.py b/discord/flags.py index 38a6ac3ff..0cc106e5d 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -594,7 +594,7 @@ class Intents(BaseFlags): """ return 1 << 8 - @flag_value + @alias_flag_value def messages(self): """:class:`bool`: Whether guild and direct message related events are enabled. @@ -677,7 +677,7 @@ class Intents(BaseFlags): """ return 1 << 12 - @flag_value + @alias_flag_value def reactions(self): """:class:`bool`: Whether guild and direct message reaction related events are enabled. @@ -740,7 +740,7 @@ class Intents(BaseFlags): """ return 1 << 13 - @flag_value + @alias_flag_value def typing(self): """:class:`bool`: Whether guild and direct message typing related events are enabled.