package stream.flarebot.flarebot.mod;

import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.MessageEmbed;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.FlareBot;

import java.awt.Color;
import java.util.concurrent.TimeUnit;

public class Punishment {

    private ModlogAction action;
    private long duration;

    public Punishment(ModlogAction action) {
        this.action = action;
    }

    public Punishment(ModlogAction action, long duration) {
        this.action = action;
        this.duration = duration;
    }

    public long getDuration() {
        return this.duration;
    }

    public String getName() {
        return action.name().charAt(0) + action.name().substring(1).toLowerCase().replaceAll("_", " ");
    }

    public ModlogAction getAction() {
        return action;
    }

    public MessageEmbed getActionEmbed(User user, User responsible, String reason) {
        return getActionEmbed(user, responsible, reason, true);
    }

    public MessageEmbed getActionEmbed(User user, User responsible, String reason, boolean showReason) {
        EmbedBuilder eb = new EmbedBuilder();
        eb.setTitle(getName());
        eb.setColor(Color.WHITE);
        eb.addField("User", user.getName() + "#" + user.getDiscriminator() + " (" + user.getId() + ")", true);
        if (responsible != null)
            eb.addField("Responsible moderator", responsible.getAsMention(), true);
        if ((responsible != null || reason != null) && showReason)
            eb.addField("Reason", (reason != null ? reason : "No reason given!"), true);
        if (action.name().startsWith("TEMP"))
            eb.addField("Duration", FlareBot.getInstance().formatTime(duration, TimeUnit.MILLISECONDS, true, false), true);
        return eb.build();
    }
}

package stream.flarebot.flarebot.mod;

import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.MessageEmbed;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.FlareBot;

import java.awt.Color;
import java.util.concurrent.TimeUnit;

public class Punishment {

    private ModlogAction action;
    private long duration;

    public Punishment(ModlogAction action) {
        this.action = action;
    }

    public Punishment(ModlogAction action, long duration) {
        this.action = action;
        this.duration = duration;
    }

    public long getDuration() {
        return this.duration;
    }

    public String getName() {
        return action.name().charAt(0) + action.name().substring(1).toLowerCase().replaceAll("_", " ");
    }

    public ModlogAction getAction() {
        return action;
    }

    public MessageEmbed getActionEmbed(User user, User responsible, String reason) {
        return getActionEmbed(user, responsible, reason, true);
    }

    public MessageEmbed getActionEmbed(User user, User responsible, String reason, boolean showReason) {
        EmbedBuilder eb = new EmbedBuilder();
        eb.setTitle(getName());
        eb.setColor(Color.WHITE);
        eb.addField("User", user.getName() + "#" + user.getDiscriminator() + " (" + user.getId() + ")", true);
        if(action == ModlogAction.REPORT_CREATE)
            eb.addField("Responsible", responsible.getAsMention(), true);
        if (responsible != null && action != ModlogAction.REPORT_CREATE)
            eb.addField("Responsible moderator", responsible.getAsMention(), true);
        if ((responsible != null || reason != null) && showReason)
            eb.addField("Reason", (reason != null ? reason : "No reason given!"), true);
        if (action.name().startsWith("TEMP"))
            eb.addField("Duration", FlareBot.getInstance().formatTime(duration, TimeUnit.MILLISECONDS, true, false), true);
        return eb.build();
    }
}

Change Report create a little bit