Change public reason used on imported punishments
This commit is contained in:
parent
24a73f72cf
commit
131e255116
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user