Title: improve spam automod and message cache, upgrade to JDK 25 by danthe1st · Pull Request #525 · Java-Discord/JavaBot · GitHub
Open Graph Title: improve spam automod and message cache, upgrade to JDK 25 by danthe1st · Pull Request #525 · Java-Discord/JavaBot
X Title: improve spam automod and message cache, upgrade to JDK 25 by danthe1st · Pull Request #525 · Java-Discord/JavaBot
Description: 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/
Open Graph Description: 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. A...
X Description: 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. A...
Opengraph URL: https://github.com/Java-Discord/JavaBot/pull/525
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2b6ba411-2b1c-328b-4f69-c5dff0e0772f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A18A:129B62:19034A0:232C9C0:6970DBD1 |
| html-safe-nonce | 561e72c6948b952e07f1c61cc78beb271dd88b7f45badf659b2801397a7b51ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMThBOjEyOUI2MjoxOTAzNEEwOjIzMkM5QzA6Njk3MERCRDEiLCJ2aXNpdG9yX2lkIjoiOTMwMzYwMDkzNTUzMjUzMzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f6a9964e48ba0ca3a3c79faffc218ffed13d78e66029e275d55c4d439a22995d |
| hovercard-subject-tag | pull_request:3029870087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Java-Discord/JavaBot/pull/525/files |
| twitter:image | https://avatars.githubusercontent.com/u/34687786?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/34687786?s=400&v=4 |
| og:image:alt | 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. A... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Java-Discord/JavaBot git https://github.com/Java-Discord/JavaBot.git |
| octolytics-dimension-user_id | 77415047 |
| octolytics-dimension-user_login | Java-Discord |
| octolytics-dimension-repository_id | 371822717 |
| octolytics-dimension-repository_nwo | Java-Discord/JavaBot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 371822717 |
| octolytics-dimension-repository_network_root_nwo | Java-Discord/JavaBot |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eb3c92b74ae48a78cffd8700b8eb5f60bad61528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width