package com.techcavern.wavetact.commands.Fun;

import com.techcavern.wavetact.objects.Command;
import com.techcavern.wavetact.utils.GeneralRegistry;
import org.apache.commons.lang3.StringUtils;
import org.pircbotx.hooks.events.MessageEvent;

public class Nom extends Command {

    public Nom() {
        super("nom", 0, "nom [something]");
    }

    @Override
    public void onCommand(MessageEvent<?> event, String... args) throws Exception {
        event.getChannel().send().action("noms on " + StringUtils.join(args, " "));
        event.getChannel().send().message("mmhmm");
    }
}
package com.techcavern.wavetact.commands.Fun;

import com.techcavern.wavetact.objects.Command;
import com.techcavern.wavetact.utils.GeneralRegistry;
import org.apache.commons.lang3.StringUtils;
import org.pircbotx.hooks.events.MessageEvent;

public class Nom extends Command {

    public Nom() {
        super("nom", 0, "nom [something]");
    }

    @Override
    public void onCommand(MessageEvent<?> event, String... args) throws Exception {
        if (args.length > 0) {
            event.getChannel().send().action("noms on " + StringUtils.join(args, " "));
        } else {
            event.getChannel().send().action("noms on " + event.getUser().getNick());
        }
        event.getChannel().send().message("mmhmm");
    }
}
Add a fun "easter egg"
Add a fun "easter egg"
