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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8b10d0ed-99ae-b51b-1270-44e61d2b44bb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E62E:A458E:1A1D2A2:24B9916:6970DEA4 |
| html-safe-nonce | 398666da2d27d8153dbffc0b451e12d5a101b0981809f890d45e84477e503eb5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjJFOkE0NThFOjFBMUQyQTI6MjRCOTkxNjo2OTcwREVBNCIsInZpc2l0b3JfaWQiOiIzODk2MDI5MjMwNDE1MjczNjM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ff8fafda3e8efe1e4299cf5dd0e3696c6940c2c0d40fa0346af7d3e2b694d1b0 |
| 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 | b9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4 |
| 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 | eb3c92b74ae48a78cffd8700b8eb5f60bad61528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width