From 80a5b0e0a4df47163dbc03a8fea949ea1aa9e115 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 20:55:57 +0200 Subject: [PATCH] Add DiscordRanks --- src/de/steamwar/bungeecore/bot/util/DiscordRanks.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java b/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java index 118a02c..ec4a542 100644 --- a/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java +++ b/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java @@ -35,11 +35,15 @@ import java.util.Set; public class DiscordRanks { public void update(SteamwarUser steamwarUser) { + System.out.println(": " + steamwarUser); if (steamwarUser.getDiscordId() == null) { return; } + System.out.println(": verified"); Guild guild = SteamwarDiscordBot.instance().getJda().getGuildById(SteamwarDiscordBotConfig.GUILD); + System.out.println(": " + guild); Member member = guild.getMemberById(steamwarUser.getDiscordId()); + System.out.println(": " + member); if (member == null) { return; }