Conversation
Bumps com.diffplug.spotless from 8.0.0 to 8.1.0. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-version: 8.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.sonarqube from 7.0.1.6134 to 7.1.0.6387. --- updated-dependencies: - dependency-name: org.sonarqube dependency-version: 7.1.0.6387 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [name.remal.sonarlint](https://github.com/remal-gradle-plugins/sonarlint) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/remal-gradle-plugins/sonarlint/releases) - [Commits](https://github.com/remal-gradle-plugins/sonarlint/commits) --- updated-dependencies: - dependency-name: name.remal.sonarlint dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 11.17.0 to 11.18.0. - [Release notes](https://github.com/flyway/flyway/releases) - [Commits](flyway/flyway@flyway-11.17.0...flyway-11.18.0) --- updated-dependencies: - dependency-name: org.flywaydb:flyway-core dependency-version: 11.18.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.apptasticsoftware:rssreader](https://github.com/w3stling/rssreader) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/w3stling/rssreader/releases) - [Commits](w3stling/rssreader@v3.11.0...v3.12.0) --- updated-dependencies: - dependency-name: com.apptasticsoftware:rssreader dependency-version: 3.12.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.sonarqube from 7.1.0.6387 to 7.2.0.6526. --- updated-dependencies: - dependency-name: org.sonarqube dependency-version: 7.2.0.6526 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.gradleup.shadow](https://github.com/GradleUp/shadow) from 9.2.2 to 9.3.0. - [Release notes](https://github.com/GradleUp/shadow/releases) - [Commits](GradleUp/shadow@9.2.2...9.3.0) --- updated-dependencies: - dependency-name: com.gradleup.shadow dependency-version: 9.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.apache.commons:commons-text](https://github.com/apache/commons-text) from 1.14.0 to 1.15.0. - [Changelog](https://github.com/apache/commons-text/blob/master/RELEASE-NOTES.txt) - [Commits](apache/commons-text@rel/commons-text-1.14.0...rel/commons-text-1.15.0) --- updated-dependencies: - dependency-name: org.apache.commons:commons-text dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.20.0 to 5.21.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v5.20.0...v5.21.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-version: 5.21.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 11.18.0 to 11.20.0. - [Release notes](https://github.com/flyway/flyway/releases) - [Commits](flyway/flyway@flyway-11.18.0...flyway-11.20.0) --- updated-dependencies: - dependency-name: org.flywaydb:flyway-core dependency-version: 11.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: rss failures with exponential blacklist failed rss feed urls are marked as blacklisted upto 24 hours, if it's a dead url it notifies with error log for admin to remove it. * refactor: helper and magic numbers moves numbers used for backing off hours to constants and adds a helper to calculate backing off hours duration * chore: log level for skips to debug * refactor: move failure state record to seperate file
While analyzing the code, SonarQube is rightfully complaining about: Control structures should use curly braces. Fix this by simply adding curly braces to the if statement. Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
Recently thanks to a surge in new contributors, it has been observed
that many of their commits contain code that does not pass Sonarlint
checks. This results in the CI checks failing, and contributors have to
push new commits to address the Sonarlint complaints.
Introduce a new pre-commit hook procedure that also runs Sonarlint right
before a commit gets created, which should exit with a non-zero status
code so that the commit does not get made if it does not pass Sonarlint
checks.
Running Sonarlint checks is a passive task - in other words, it does not
take the initiative of editing the code in order to make it pass the
tests, so it's safe to call the Gradle task by just calling
./gradlew sonarlintMain
Hopefully with this we get less unexpected failures on our CI pipeline
and more motivated contributors.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
* VoiceReceiverAdapter.java: add default missing doc Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com> * docs(VoiceReceiverAdapter): improve message Write an improved, more specific JavaDoc for VoiceReceiverAdapter. Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com> --------- Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.21.1 to 1.22.1. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](jhy/jsoup@jsoup-1.21.1...jsoup-1.22.1) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-version: 1.22.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added /message command family - raw - post (and post-with-message) - edit (and edit-with-message) * CR simplified subcommand setup * CR renamed confusing method names
* chore: remove use `openai-gpt3-java` and use official `openai-java dependency` * feat: use new gpt-5-nano model * chore: run spotless --------- Co-authored-by: Suraj Kumar <sk96.uk@gmail.com>
Bumps [com.openai:openai-java](https://github.com/openai/openai-java) from 4.13.0 to 4.14.0. - [Release notes](https://github.com/openai/openai-java/releases) - [Changelog](https://github.com/openai/openai-java/blob/main/CHANGELOG.md) - [Commits](openai/openai-java@v4.13.0...v4.14.0) --- updated-dependencies: - dependency-name: com.openai:openai-java dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#1376) * Update ChatGPT model to GPT_5_MINI * feat: add a chat model parameter to allow choice between models (speed vs quality) * feat: create an enum to house the AI models * update AI response footer to include model * docs: add java docs --------- Co-authored-by: Suraj Kumar <sk96.uk@gmail.com>
Bumps [com.openai:openai-java](https://github.com/openai/openai-java) from 4.14.0 to 4.15.0. - [Release notes](https://github.com/openai/openai-java/releases) - [Changelog](https://github.com/openai/openai-java/blob/main/CHANGELOG.md) - [Commits](openai/openai-java@v4.14.0...v4.15.0) --- updated-dependencies: - dependency-name: com.openai:openai-java dependency-version: 4.15.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.github.freva:ascii-table](https://github.com/freva/ascii-table) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/freva/ascii-table/releases) - [Commits](https://github.com/freva/ascii-table/commits) --- updated-dependencies: - dependency-name: com.github.freva:ascii-table dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(cool-messages): add configuration files
* feat(cool-messages): add primary logic
* feat(cool-message): forward messages instead of using embed
For this feature, the version of JDA had to be bumped to 5.1.2
* refactor: code review addressed by Zabuzard
* minimumReactions-5, star symbol instead of encoding
* requests changes by zabuzard except for moving getBoardChannel down and markMessageAsProcessed
* Following JavaDocs guidelines of making the first letter capital
* code refactoring
* refactor: use correct method for reactionsCount
It turns out that for each event fired, every *single* damn time,
messageReaction.hasCount() would always return false. No matter what.
Terrible documentation from JDA's side. As a result, because of the
ternary operator:
messageReaction.hasCount() ? messageReaction.getCount() + 1 : 1
the result of `reactionsCount` would always end up holding the value of
one.
In the following changes, we use `messageReaction.retrieveUsers()` to
get a list of the people reacted, get a `Stream<User>` from that and get
its count. Much more reliable this way and it also happens to be more
readable.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
Co-authored-by: Chris Sdogkos <work@chris-sdogkos.com>
Co-authored-by: Surya Tejess <74978874+suryatejess@users.noreply.github.com>
* doc(QuoteBoardForwarder.java): improve JavaDoc
Since 1ade409 (refactor: code review addressed by Zabuzard,
2025-06-28) primarily contains a generaly vague JavaDoc describing what
the `QuoteBoardForwarder.java` class is doing, a more descriptive one
replaces it.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
* refactor: code review addressed by zabuzard
* rename coolMessagesConfig to quoteMessagesConfig
* removed backticks for QuoteBoardForwarder and added a qualifier statement for QuoteBoardForwarder
* param check for reactionEmoji
* straight quotes instead of smart quotes
* rename isCoolEmoji to isTriggerEmoji
* early return when reactionsCount < config.minimumReactions()
* early return for isCoolEmoji
* fix: more renaming to quoteMessageConfig
Due to some hastiness in resolving the recent merge conflicts, some
parts with "coolMessagesConfig" were not renamed to
"quoteMessagesConfig". Take care of that.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
* fixes a single compilation error: "getCoolMessageConfig" is an old name
* applies FirasRG first review
Comments:
1. improved settings
2. using meaningful names
3. validations
4. some debug logs
* [smallFix] FirasRG first review: replace var with explicit type
---------
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
Co-authored-by: Surya Tejess <suryatejessk@gmail.com>
Co-authored-by: Surya Tejess <74978874+suryatejess@users.noreply.github.com>
Co-authored-by: Firas Regaieg <firasregayeg1220@yahoo.fr>
Bumps [com.openai:openai-java](https://github.com/openai/openai-java) from 4.15.0 to 4.16.0. - [Release notes](https://github.com/openai/openai-java/releases) - [Changelog](https://github.com/openai/openai-java/blob/main/CHANGELOG.md) - [Commits](openai/openai-java@v4.15.0...v4.16.0) --- updated-dependencies: - dependency-name: com.openai:openai-java dependency-version: 4.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps com.diffplug.spotless from 8.1.0 to 8.2.0. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-version: 8.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.