src/main/java/core/commands/MyCommand.java
/**
     * @param e Because we are using the {@link core.commands.CustomInterfacedEventManager CustomInterfacedEventManager} we know that this is the only OnMessageReceived event handled so we can skip the cheks
     */
@param e Because we are using the  core.commands.CustomInterfacedEventManager CustomInterfacedEventManager we know that this is the only OnMessageReceived event handled so we can skip the cheks
@param e Because we are using the core . commands . CustomInterfacedEventManager CustomInterfacedEventManager we know that this is the only OnMessageReceived event handled so we can skip the cheks
@Override
    public void onMessageReceived(MessageReceivedEvent e) {
        e.getChannel().sendTyping().queue();
        System.out.println("We received a message from " +
                e.getAuthor().getName() + "; " + e.getMessage().getContentDisplay());
        if (!e.isFromGuild() && !respondInPrivate) {
            sendMessageQueue(e, "This command only works in a server");
            return;
        }
        measureTime(e);
    }
@ Override public void onMessageReceived ( MessageReceivedEvent e ) { e . getChannel ( ) . sendTyping ( ) . queue ( ) ; System . out . println ( "We received a message from " + e . getAuthor ( ) . getName ( ) + "; " + e . getMessage ( ) . getContentDisplay ( ) ) ; if ( ! e . isFromGuild ( ) && ! respondInPrivate ) { sendMessageQueue ( e , "This command only works in a server" ) ; return ; } measureTime ( e ) ; }
@param e Because we are using the {@link core.commands.CustomInterfacedEventManager CustomInterfacedEventManager} we know that this is the only OnMessageReceived event handled so we can skip the cheks
@param e Because we are using the { @link core . commands . CustomInterfacedEventManager CustomInterfacedEventManager } we know that this is the only OnMessageReceived event handled so we can skip the cheks