diff options
| author | Rapptz <[email protected]> | 2020-10-17 18:50:56 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-10-17 18:50:56 -0400 |
| commit | b91ddc6f4ea347dd7d32a1548931d7d610492fff (patch) | |
| tree | de139d1be094a3fe18acda5f466d547e12933142 /discord/flags.py | |
| parent | Evict keys when they're set to None in PermissionOverwrite (diff) | |
| download | discord.py-b91ddc6f4ea347dd7d32a1548931d7d610492fff.tar.xz discord.py-b91ddc6f4ea347dd7d32a1548931d7d610492fff.zip | |
Mark intent alias flags as actual aliases to skip them in __iter__
Fix #5945
Diffstat (limited to 'discord/flags.py')
| -rw-r--r-- | discord/flags.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/flags.py b/discord/flags.py index 38a6ac3f..0cc106e5 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. |