diff options
Diffstat (limited to 'src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java')
-rw-r--r-- | src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java b/src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java index f56b9ac..4c1d7a3 100644 --- a/src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java +++ b/src/main/java/net/tylermurphy/ken/command/moderation/TempBan.java @@ -87,7 +87,7 @@ public class TempBan { json.put("status", status); JSONArray history = json.getJSONArray("history"); - history.put(new JSONObject().put("type", "temp-ban").put("reason", reason).put("date",new Date().getTime())); + history.put(new JSONObject().put("type", "temp-ban").put("reason", reason).put("date",new Date().getTime()).put("by", sender.getIdLong())); json.put("history", history); table.setData(guild.getIdLong(), target.getUser().getIdLong(), json.toString()); |