Check why StaticMessageChannel does not work?

This commit is contained in:
2026-01-09 10:01:36 +01:00
parent 61bd28150b
commit ce3d50fcb7
@@ -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);
VelocityCore.schedule(this::update);
}