From ce3d50fcb75a0c92d2426ea385fc036ba4d7516e Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Fri, 9 Jan 2026 10:01:36 +0100 Subject: [PATCH] Check why StaticMessageChannel does not work? --- .../velocitycore/discord/channels/StaticMessageChannel.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VelocityCore/src/de/steamwar/velocitycore/discord/channels/StaticMessageChannel.java b/VelocityCore/src/de/steamwar/velocitycore/discord/channels/StaticMessageChannel.java index 6d43b8f7..9de9c5b5 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/discord/channels/StaticMessageChannel.java +++ b/VelocityCore/src/de/steamwar/velocitycore/discord/channels/StaticMessageChannel.java @@ -63,9 +63,7 @@ public class StaticMessageChannel extends DiscordChannel { } private void init() { - if(getChannel().getLatestMessageIdLong() != 0) - message = getChannel().getIterableHistory().onErrorMap(throwable -> Collections.emptyList()).complete().stream().filter(m -> m.getAuthor().isBot()).findFirst().orElse(null); - + message = getChannel().getIterableHistory().onErrorMap(throwable -> Collections.emptyList()).complete().stream().filter(m -> m.getAuthor().isBot()).findFirst().orElse(null); VelocityCore.schedule(this::update); }