diff options
author | Noah <mounderfod@gmail.com> | 2022-07-08 18:44:52 +0100 |
---|---|---|
committer | Noah <mounderfod@gmail.com> | 2022-07-08 18:44:52 +0100 |
commit | e5cce6c643bbae775fd6beeb03c00d43df06d9b9 (patch) | |
tree | 12b560ef51609851f0c8d4588bef16d04b0d963b /discord | |
parent | c6f4e41f1b4e1898849bd56fd401f8b19d47a4bd (diff) | |
download | discobra-e5cce6c643bbae775fd6beeb03c00d43df06d9b9.tar.gz |
fix(gateway): Access the enum value rather than calling it
Diffstat (limited to 'discord')
-rw-r--r-- | discord/intents.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/intents.py b/discord/intents.py index e9a412f..2e993ea 100644 --- a/discord/intents.py +++ b/discord/intents.py @@ -48,5 +48,5 @@ def gen_number(intents: list[Intents]): """ number = 1 for i in intents: - number << i.value() + number << i.value return number |