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: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:7b795c2f-3ed4-1ead-1e3d-3d4ad978069e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 94FC:3A955:ABA8FB:F05FE8:6970B8AE |
| html-safe-nonce | 3c4c943d4dcfae89e7eb553a1f3cccd9cd6f37028c6a21363ca906131a250052 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEZDOjNBOTU1OkFCQThGQjpGMDVGRTg6Njk3MEI4QUUiLCJ2aXNpdG9yX2lkIjoiNzM4ODU3MzYyNzY1OTEwNjQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 680a8f27d2d7b2c86c3fb7c2bd72ec945112ff30c5e6daf3e67df9013795be2d |
| hovercard-subject-tag | pull_request:3029870087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390 |
| turbo-cache-control | no-cache |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84d9d5bf3b01412ea10f7c2429cbfc735ccce9ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width