diff --git a/EssentialsDiscord/src/main/java/net/essentialsx/discord/util/DiscordUtil.java b/EssentialsDiscord/src/main/java/net/essentialsx/discord/util/DiscordUtil.java index defb41d45..c7cf17821 100644 --- a/EssentialsDiscord/src/main/java/net/essentialsx/discord/util/DiscordUtil.java +++ b/EssentialsDiscord/src/main/java/net/essentialsx/discord/util/DiscordUtil.java @@ -79,7 +79,7 @@ public final class DiscordUtil { final CompletableFuture future = new CompletableFuture<>(); channel.retrieveWebhooks().queue(webhooks -> { for (final Webhook webhook : webhooks) { - if (webhook.getName().equals(webhookName)) { + if (webhook.getName().equals(webhookName) && webhook.getToken() != null) { ACTIVE_WEBHOOKS.addIfAbsent(webhook.getId()); future.complete(webhook); return;