Skip to content

Conversation

@danthe1st
Copy link
Member

@danthe1st danthe1st commented Nov 20, 2025

This PR refactors the spam detection using the message cache (which I changed to use a Deque).

Since sequenced collections (specifically reversed()) is useful for this, I also upgraded to JDK 25. As there have been changes to the native code of AWT/BufferedImage, I regenerated the GraalVM reachability metadata by running the bot with the following JVM argument and executing all plotting commands:

-agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image/net.discordjug/javabot/

@danthe1st danthe1st requested a review from a team as a code owner November 20, 2025 13:20
@danthe1st danthe1st merged commit 587f89b into Java-Discord:main Dec 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants