forked from SteamWar/SteamWar
Test fix DiscordAlert
This commit is contained in:
@@ -47,7 +47,7 @@ public class DiscordAlert {
|
||||
return;
|
||||
|
||||
VelocityCore.getLogger().log(Level.INFO, "[DiscordAlert] With discord id.");
|
||||
User user = DiscordBot.getInstance().getJda().getUserById(discordId);
|
||||
User user = DiscordBot.getInstance().getJda().retrieveUserById(discordId).complete();
|
||||
if(user == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user