about summary refs log tree commit diff stats
path: root/discord/intents.py
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/intents.py
parentc6f4e41f1b4e1898849bd56fd401f8b19d47a4bd (diff)
downloaddiscobra-e5cce6c643bbae775fd6beeb03c00d43df06d9b9.tar.gz
fix(gateway): Access the enum value rather than calling it
Diffstat (limited to 'discord/intents.py')
-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
6da63d4'>a1019e3 ^
a565af2
85f992c ^

451634c ^
a1019e3 ^

451634c ^
a565af2
4774210 ^



25b5f6d ^

4774210 ^



791e4bc ^
4774210 ^
a565af2
4774210 ^
a565af2




0a559dc ^
15f75c8 ^
a565af2

a565af2


















252ba21 ^
1c9ba55 ^
0ce8800 ^
f1daa05 ^










c60b7aa ^
0cd9dc1 ^
e949cf0 ^
a565af2

a565af2



6119a90 ^
9bdf06b ^


451634c ^
8163599 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100