Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 3 weeks ago

DISCORD BOT CAPITALIZE SENSITIVITY HELP?

bot.on('message', msg =>{

    if(msg.content === " MESSAGE "){

msg.reply('REPLY');

    }

})

How would I change this to make it not sensitive to like: "heLLO" or "hello" like where it doesn't matter what letters are capitalized. 

There are no answers yet.
Be the first to answer this question.