質問編集履歴

3

2018/03/09 00:56

投稿

TanakashiXr
TanakashiXr

スコア57

test CHANGED
File without changes
test CHANGED
@@ -26,6 +26,8 @@
26
26
 
27
27
  }, 1500 );
28
28
 
29
+ }
30
+
29
31
  ```
30
32
 
31
33
  実行すると下記のようなエラーが発生します。

2

2018/03/09 00:56

投稿

TanakashiXr
TanakashiXr

スコア57

test CHANGED
File without changes
test CHANGED
@@ -18,11 +18,13 @@
18
18
 
19
19
  if(txt == 'help jp' && isAdminOrBot(seq.from_)) {
20
20
 
21
- seq.text = this.jphelp;
21
+ setTimeout( function() {
22
22
 
23
- this._client.sendMessage(0, seq);
23
+ seq.text = this.jphelp;
24
24
 
25
+ this._client.sendMessage(0, seq);
26
+
25
- }
27
+ }, 1500 );
26
28
 
27
29
  ```
28
30
 

1

2018/03/09 00:55

投稿

TanakashiXr
TanakashiXr

スコア57

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  seq.text = this.jphelp;
8
8
 
9
- this._client.sendMessage(0, seq);
9
+ this._client.sendMessage(0, seq);
10
10
 
11
11
  }
12
12
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  seq.text = this.jphelp;
22
22
 
23
- this._client.sendMessage(0, seq);
23
+ this._client.sendMessage(0, seq);
24
24
 
25
25
  }
26
26