about summary refs log tree commit diff stats
path: root/discord
diff options
context:
space:
mode:
authorNoah <mounderfod@gmail.com>2022-07-08 18:44:52 +0100
committerNoah <mounderfod@gmail.com>2022-07-08 18:44:52 +0100
commite5cce6c643bbae775fd6beeb03c00d43df06d9b9 (patch)
tree12b560ef51609851f0c8d4588bef16d04b0d963b /discord
parentc6f4e41f1b4e1898849bd56fd401f8b19d47a4bd (diff)
downloaddiscobra-e5cce6c643bbae775fd6beeb03c00d43df06d9b9.tar.gz
fix(gateway): Access the enum value rather than calling it
Diffstat (limited to 'discord')
-rw-r--r--discord/intents.py2
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