use of gg.projecteden.nexus.models.modreview.ModReview.ModReviewRequest in project Nexus by ProjectEdenGG.
the class ModReviewCommand method request.
@Cooldown(value = TickTime.SECOND, x = 30)
@Path("request <name> [notes...]")
@Description("Request a mod to be reviewed by the staff team")
void request(String name, String notes) {
ModReviewRequest request = new ModReviewRequest(uuid(), name, notes);
modReview.request(request);
save();
send(PREFIX + "Requested mod &e" + name + " &3to be reviewed");
String message = "&e" + name() + " &3has requested mod &e" + name + " &3to be reviewed";
Broadcast.staff().prefix("ModReview").message(json(message).command("/modreview requests")).send();
}
Aggregations