Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Adjust time shown in logger Resolves #443
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster committed Jan 27, 2018
1 parent 5700ad9 commit 9cfd297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FredBoat/src/main/java/fredboat/event/EventLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.time.LocalDateTime;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
Expand Down Expand Up @@ -211,7 +211,7 @@ private void sendGuildStats() {
}

EmbedBuilder eb = CentralMessaging.getColoredEmbedBuilder()
.setTimestamp(LocalDateTime.now())
.setTimestamp(OffsetDateTime.now())
.setTitle("Joins and Leaves since the last update")
.addField("Guilds joined", Integer.toString(guildsJoinedEvents.getAndSet(0)), true)
.addField("Guilds left", Integer.toString(guildsLeftEvents.getAndSet(0)), true);
Expand Down

0 comments on commit 9cfd297

Please sign in to comment.