質問編集履歴

1

content === を content.includeに訂正しました

2020/04/09 11:29

投稿

SAAT
SAAT

スコア14

test CHANGED
File without changes
test CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  ```js
6
6
 
7
- if (msg.content === `お花`) msg.channel.send(`おはな`)
7
+ if (msg.content.include(`お花`)) msg.channel.send(`おはな`)
8
8
 
9
- if (msg.content === `お酒`) msg.channel.send(`おさけ`)
9
+ if (msg.content.include(`お酒`)) msg.channel.send(`おさけ`)
10
10
 
11
11
  ```
12
12