Question: I'm trying to make a chatbot with Javascript. I'm using `if` statements to check whether the message includes a certain phrase and narrow down what the user is trying to say. I'm receiving an error at runtime which says `TypeError: toLowerMessage.includes is not a function` where `toLowerMessage` is the string I am checking.

I have tried looking into adding a `.toString` when I create the variable, but that has not worked. I have looked through all my code and don't spot anything particularly off about it.

Here is the line of code where I am receiving the error.

```js
if(toLowerMessage.includes("hi") || toLowerMessage.includes("hello")) {

```

I expect the `if` to only continue if the `.includes` statements return positive.

Answer: 
`toLowerCase` isn't a property, it's a function:

```
var toLowerMessage = message.content.toLowerCase();

```

You don't need `toString` because `toLowerCase` returns a string.

Also note that your `if` statement can be made simpler, and eliminate the requirement for this line altogether:

```
if (message.content.test(/hi|hello/i)) {...}

```
```
var toLowerMessage = message.content.toLowerCase();

```

is what you want.