質問編集履歴
3
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,9 +44,15 @@
|
|
44
44
|
|
45
45
|
[Symbol(code)]: 'CLIENT_MISSING_INTENTS'
|
46
46
|
|
47
|
+
```
|
48
|
+
|
47
|
-
#該当のコード
|
49
|
+
##該当のコード
|
50
|
+
|
51
|
+
|
48
52
|
|
49
53
|
```ここに言語を入力
|
54
|
+
|
55
|
+
コード
|
50
56
|
|
51
57
|
// coding:UTF-8
|
52
58
|
|
@@ -108,6 +114,4 @@
|
|
108
114
|
|
109
115
|
|
110
116
|
|
111
|
-
|
112
|
-
|
113
117
|
```
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,35 +12,37 @@
|
|
12
12
|
|
13
13
|
```ここに言語を入力
|
14
14
|
|
15
|
-
|
15
|
+
ubuntu@os3-388-27077:~$ cd DiscordBot
|
16
16
|
|
17
|
+
ubuntu@os3-388-27077:~/DiscordBot$ node test.js
|
18
|
+
|
19
|
+
/home/ubuntu/node_modules/discord.js/src/client/Client.js:544
|
20
|
+
|
21
|
+
throw new TypeError('CLIENT_MISSING_INTENTS');
|
22
|
+
|
17
|
-
|
23
|
+
^
|
18
24
|
|
19
25
|
|
20
26
|
|
21
|
-
TypeError:
|
27
|
+
TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
|
22
28
|
|
23
|
-
at Client.
|
29
|
+
at Client._validateOptions (/home/ubuntu/node_modules/discord.js/src/client/Client.js:544:13)
|
24
30
|
|
25
|
-
at Client
|
31
|
+
at new Client (/home/ubuntu/node_modules/discord.js/src/client/Client.js:73:10) at Object.<anonymous> (/home/ubuntu/DiscordBot/test.js:7:16)
|
26
32
|
|
27
|
-
at Me
|
33
|
+
at Module._compile (node:internal/modules/cjs/loader:1101:14)
|
28
34
|
|
29
|
-
at Object.
|
35
|
+
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
|
30
36
|
|
31
|
-
at
|
37
|
+
at Module.load (node:internal/modules/cjs/loader:981:32)
|
32
38
|
|
33
|
-
at
|
39
|
+
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
|
34
40
|
|
35
|
-
at
|
41
|
+
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
36
42
|
|
37
|
-
at
|
43
|
+
at node:internal/main/run_main_module:17:47 {
|
38
44
|
|
39
|
-
|
45
|
+
[Symbol(code)]: 'CLIENT_MISSING_INTENTS'
|
40
|
-
|
41
|
-
at Receiver.receiverOnMessage (C:\Users\hopef\node_modules\ws\lib\websocket.js:834:20)
|
42
|
-
|
43
|
-
```
|
44
46
|
|
45
47
|
#該当のコード
|
46
48
|
|
1
脱字
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,6 +41,8 @@
|
|
41
41
|
at Receiver.receiverOnMessage (C:\Users\hopef\node_modules\ws\lib\websocket.js:834:20)
|
42
42
|
|
43
43
|
```
|
44
|
+
|
45
|
+
#該当のコード
|
44
46
|
|
45
47
|
```ここに言語を入力
|
46
48
|
|