title: How do I refer to a word using all variations, no matter the size of the letters within the words?
body: <p>Alright, so I am making a Discord bot, and I'm trying to set parameters for words that aren't allowed to be said in the server (You know the kind, slurs and the like). So, I put a slur (I'll just use the word "dog" as an example), but it was only lowercase. So basically, it's just "dog", and if someone says "dog" in chat, then their message will be deleted, and the bot sends them a message through DMs. But, if someone were to say "Dog", then they wouldn't get their message deleted.  What should I add to the code to make sure that all variations of the slur get picked up? </p>
  
  <p>I'm incredibly new to any form of coding, and I have gotten a ton of help from my friends to make this bot, so I really have no clue about what I'm doing.</p>
  
  <p>(if you want to see the code, here it is.  I replaced all the slurs with words, but I think you get the gist):</p>
  
  <pre><code>   "bannedWords":[
         "apple",
        "dog",
        "bird",
        "cat"
     ],
     "code":""
  }
  </code></pre>
  
  <p>I expect the words "dog", "Dog", "DOg", "DOG", "dOG", "doG", "DoG", "dOg", etc. to be identified instead of just "dog".</p>