const banWord = ["meat","fruit","road"];
    for (var i = 0; i < banWord.length; i++) {
        if(message.content.includes(banWord[i])) {
            message.channel.send('Mohon yang sopan ya...');
        }
      }
the bot won't say anything at discord server when someone says that words.
                        
You need to put that script inside of a client function. For example: