title: How would you make a !!say command for a discord bot?
body: <p>This is how my commands are set up:</p>
  
  <pre><code>public void onMessageReceived(MessageReceivedEvent evt) {
  
      //Objects
      User objUser = evt.getAuthor();
      MessageChannel objMsgCh = evt.getChannel();
      Message objMsg = evt.getMessage();
  
      //Commands
      if(objMsg.getContentRaw().equalsIgnoreCase(Ref.prefix+"say " + message))
      {
      StringBuilder message = new StringBuilder();
      for(int i = 1; i &lt; command.length; i++) {
             if(i == command.length-1) {
                 message.append(command[i]);
             }else {
                 message.append(command[i] + " ");
             }
         }
  
      objMsgCh.sendMessage(message.toString()).queue();
  
      objMsg.delete();
      return;
      }
  }
  </code></pre>
  
  <p>It doesn't reply with anything and I don't understand why.
  I am using JDA (Java Discord API).</p>