Error

I got error in if else
 avatar
unknown
plain_text
3 years ago
301 B
7
Indexable
bot.command("m", (ctx) => {
  let input = ctx.message.text.split(" ");
  
  if (input.length != 2) {
    ctx.reply("Please Put Input");
    return;
  } else if (input.length != 6) {
    ctx.reply("Minimum Length is 6");
  } else if (input.length < 6) {
    ctx.reply("You Put 6 length input");
  }

})
Editor is loading...