Change public reason used on imported punishments

This commit is contained in:
Colin McDonald 2016-07-13 19:36:01 -04:00
parent 24a73f72cf
commit 131e255116

View File

@ -39,7 +39,7 @@ public final class PunishmentConverter implements Block<Document> {
Punishment created = new Punishment(
new ObjectId().toString(),
target,
"Imported Ban; reason hidden",
"Hidden (legacy punishment)",
punishment.getString("reason").toString(),
Punishment.PunishmentType.valueOf(punishment.getString("type").toUpperCase()),
punishment.containsKey("expires") ? punishment.getDate("expires").toInstant() : null,