Words that are in a variable have the form 1 2 3 need to find these words in another variable and replace them with other words (you can replace everything with the same word)
So far, I usefilter.mat.some(fw => { if (message.content.includes(fw)) { // Код } }
(it is necessary to make a variable replacing the words in the first variable with any text or other words)