Make it so mrserious commands are not case sensitive

Discussion in 'General Suggestions' started by Dodley27, Jul 31, 2020.

  1. Dodley27

    Dodley27 Dolfin VIP Bronze

    Literally two lines of code

    When reading user input before executing any commands:
    const umsg = message.content;
    const msg = umsg.toLowerCase();
    assuming the bot is written in JavaScript

    new people don't know that you can't capitalize the commands so they would do @MrSerious Staff Vanilla and then it doesn't work and it's annoying as fuck valve please fix
     
    Last edited: Jul 31, 2020
    • Agree Agree x 6
  2. Coinston

    Coinston "But what if Robots" - Chris Wedge VIP

    Carefully though, if the bot is to sensitive it might become sentient but also +1 cause yeah, much simpler
     
    • Agree Agree x 1
    • Informative Informative x 1
  3. i dont know code but looks good +1
     
  4. [MZK]Lightning

    [MZK]Lightning I've Been ... Thunderstruck!!! VIP Silver

    +1 Makes for simpler use and more efficient calling of staff
     
    • Disagree Disagree x 1
    • Old Old x 1
  5. +1
     
  6. Aquast

    Aquast lordy was here :barefoot: VIP Bronze

  7. Lady Cloudia

    Lady Cloudia VIP Silver

    +1
    THIS
     
  8. Twitch.youtube.com.ttv/AAAAAAA911

    Twitch.youtube.com.ttv/AAAAAAA911 Now you just somebody that I used to know VIP Silver

    +1 also make it so you can put a space between vanilla 2
     
    • Funny Funny x 1
    • Informative Informative x 1