How do I check for a word in a message, in discord js?

I’m trying to make a simple discord bot. How can I make it so it checks for a word inside a message? For example if somebody says “i love bananas” and the trigger word is banana, the bot responds with “same”. All I could figure out is how to make it reply to a specific message (like only “banana”), how do I make something like the example I made?