Skip to content

Commit 83ca134

Browse files
committed
Replace logger info calls with debug for Top Voters updates
1 parent 06a7437 commit 83ca134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VotingPlugin/src/main/java/com/bencodez/votingplugin/discord/DiscordHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ public void updateTopVoterMessageId(TopVoter top) {
179179
topVoterMessageIds.put(top, newId);
180180
if (!newMessage)
181181
plugin.getServerData().setTopVoterMessageId(top, newId);
182-
plugin.getLogger().info("Posted new Top Voters " + top + " (ID: " + newId + ")");
182+
plugin.debug("Posted new Top Voters " + top + " (ID: " + newId + ")");
183183
}, err -> plugin.getLogger().warning("Error sending Top Voters " + top + ": " + err.getMessage()));
184184
} else {
185185
channel.editMessageEmbedsById(existingId, eb.build()).queue(
186-
m -> plugin.getLogger().info("Edited Top Voters " + top + " (ID: " + existingId + ")"),
186+
m -> plugin.debug("Edited Top Voters " + top + " (ID: " + existingId + ")"),
187187
err -> plugin.getLogger().warning("Error editing Top Voters " + top + ": " + err.getMessage()));
188188
}
189189
}

0 commit comments

Comments
 (0)