I'm trying to make my bot answer with a one word to multiple variants of message:
const bomba = new Discord.Client();
const a = "bomba" || "bomb" || "bob";
const b = "hey" || "sup" || "hello" || "hi";
bomba.on("message", message => {
if (message.author == bomba.user) return;
if (message.content.toLowerCase() === a + b) {
bomba.channels.cache.get(`${message.channel.id}`).send("Hi!");
};
});
How do I make this work?