title: How can I properly define my bot's prefix so it doesn't respond to any one-letter prefix?
body: <p>I'm making a bot and hosting it on glitch. I want to have the prefix be 'a', but the bot responds to any single letter prefix. <br></p>
  
  <pre class="lang-js prettyprint-override"><code>{
   "prefix": "a",
   "devID": "443992049746968586"
  }
  </code></pre>
  
  <p>This is what my config.json contains. 
  <br></p>
  
  <pre class="lang-js prettyprint-override"><code>
  //cmd handler
  client.commands = new Discord.Collection();
  
  fs.readdir("./commands/", (err, files) =&gt; {
      if (err) console.log(err);
  
      let jsfile = files.filter(f =&gt; f.split(".").pop() === "js")
      if(jsfile.length &lt;= 0){
          console.log("Couldn't find commands")
          return;
      }
      jsfile.forEach((f, i) =&gt;{
  let props = require(`./commands/${f}`);
  console.log(`${f} loaded`);
  client.commands.set(props.help.name, props);
      });
  });
  
  
  client.on("message", msg =&gt;{
      let messageArray = msg.content.split(" ");
      let cmd = messageArray[0];
      let args = messageArray.slice(1);
      let commandfile = client.commands.get(cmd.slice(config.prefix.length));
      if(commandfile) commandfile.run(client,msg,args);
  })
  </code></pre>
  
  <p>That is what my index.js contains, with all irrelevant parts cut out.
  <br>
  What happens when I use my bot is, I can go aping, and it pings. Then, I can go bping and it will ping, without me specifying that 'b' is a prefix. How can I combat this?</p>