Commit Graph
100 Commits
Author SHA1 Message Date
tueem e3fc10a1ce fix(util): ObjectListAggregator syntax 2025-03-16 02:48:24 +01:00
tueem 78cacb7eb6 feat(util): add ObjectListAggregator 2025-03-16 02:47:16 +01:00
tueem 7287d44645 refactor(util): add multiple key support to ObjectAggregator 2025-03-16 02:46:55 +01:00
tueem 630c8ddee5 feat(register): add convenience getter 2025-03-16 01:49:24 +01:00
tueem 4e27e6ce56 feat(struct): introduce ObjectAggregator 2025-03-16 01:36:23 +01:00
tueem 432cf78a2e add IdentifierProvider and wrapper implementations
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Successful in 48s
2025-03-05 21:44:12 +01:00
tueem f940f48566 move CommandConverter to wrapper package
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 31s
Test / Gradle-Test (push) Successful in 46s
2025-03-04 11:16:44 +01:00
tueem f4ee258eb1 remove missing parent() call in SlashCommandDefinition#getSubCommands()
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 53s
Test / Gradle-Test (push) Successful in 52s
2025-03-03 23:40:06 +01:00
tueem 56b668851b add CommandConverter logic and wrapper implementations
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 37s
Test / Gradle-Test (push) Successful in 48s
2025-03-03 23:32:25 +01:00
tueem 823402e0cd fix base getSubCommands method 2025-03-03 23:32:07 +01:00
tueem 91b1df8d5b replace ExecutableCommandDefinition with InteractionIdentifiers
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 42s
Test / Gradle-Test (push) Successful in 45s
2025-03-03 12:42:04 +01:00
tueem 76d7e9ef4f Merge branch 'dev' into improve/structure
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 1m20s
Test / Gradle-Test (push) Successful in 49s
2025-03-01 22:59:40 +00:00
tueem 236c584da8 move Choice classes
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 10s
Test / Gradle-Test (push) Successful in 20s
2025-02-20 09:10:28 +01:00
tueem f6db113deb add CommandConverter stub
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 10s
Test / Gradle-Test (push) Successful in 21s
2025-02-20 00:41:15 +01:00
tueem 9058629af5 remove redundant getFullSlashCommand
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 11s
Test / Gradle-Test (push) Successful in 21s
2025-02-19 21:50:54 +01:00
tueem 8f14b0feb9 split up getSubCommands 2025-02-19 21:49:12 +01:00
tueem 3e02e7b85b Merge pull request 'Migrate to Mockito' (#15) from migrate/mockito into dev
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 11s
Publish / Gradle-Publish (push) Successful in 11s
Test / Gradle-Test (push) Successful in 22s
Reviewed-on: #15
2025-02-19 19:22:39 +00:00
tueem ba560cb909 remove deprecated manual mocks
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 10s
Test / Gradle-Test (push) Successful in 21s
2025-02-19 15:34:14 +01:00
tueem 6cdca411c6 migrate SlashCommandTest 2025-02-19 15:33:21 +01:00
tueem 3a39b268c1 migrate InteractionCheckTest 2025-02-19 14:39:48 +01:00
tueem ca0ab13316 migrate ButtonTest to mockito
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 21s
2025-02-19 14:10:45 +01:00
tueem ded81983e3 migrate AutocompleteTest and add mockito ofc 2025-02-19 14:00:01 +01:00
tueem 92704ca230 add correct null handling for api objects 2025-02-19 13:56:45 +01:00
tueem 5d8f737481 Merge pull request 'add Discord4J Wrapper' (#14) from wrapper/d4j into dev
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 10s
Publish / Gradle-Publish (push) Successful in 11s
Test / Gradle-Test (push) Successful in 21s
Reviewed-on: #14
2025-02-19 12:43:38 +00:00
tueem 8943d6d4a4 add tests
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 18s
Test / Gradle-Test (push) Successful in 21s
2025-02-19 10:50:30 +01:00
tueem 842fcfe5ac add PermissionCheck 2025-02-19 10:50:19 +01:00
tueem 858fab5e32 fix: Message ContextObject returning Optional 2025-02-19 09:02:52 +01:00
tueem 20471fefea fix: logging causing NullPointerException 2025-02-19 09:01:42 +01:00
tueem 8d27ec28db fix: remove Test Line, allow api to be null, fix getCommandDefinition to also allow ChatInputAutoCompleteEvent 2025-02-18 11:21:32 +01:00
tueem f81602f5db restructure and add discord4j test stub
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 9s
Test / Gradle-Test (push) Failing after 10s
2025-02-17 23:59:08 +01:00
tueem dbad157058 adjust actions to add new wrapper
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 9s
Test / Gradle-Test (push) Failing after 13s
2025-02-17 20:24:40 +01:00
tueem ad19ed6ada add First prototype of Discord4J wrapper
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 21s
Test / Gradle-Test (push) Successful in 14s
2025-02-17 20:13:31 +01:00
tueem ca822909e3 fix: consistency 2025-02-17 19:55:03 +01:00
tueem caeaec1926 add: fromValue method to SlashCommandOptionType 2025-02-17 19:45:18 +01:00
tueem f4dbdc302d fix: improve consistency 2025-02-17 19:44:52 +01:00
tueem fd87431d51 Merge remote-tracking branch 'origin/dev' into wrapper/d4j 2025-02-17 13:06:27 +01:00
tueem 3b65784770 Merge pull request 'Add Choices and Autocomplete' (#8) from feat/choices into dev
github-mirror / push-github (push) Successful in 30s
Build / Gradle-Build (push) Successful in 14s
Publish / Gradle-Publish (push) Successful in 10s
Test / Gradle-Test (push) Successful in 14s
Reviewed-on: #8
Double choices missing because PR will not get merged since Javacord seized development
2025-02-17 10:14:37 +00:00
tueem b4af922ac2 change: getInteractionType check changed from class based to context based check
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 16s
Test / Gradle-Test (push) Successful in 14s
2025-02-17 09:15:54 +01:00
tueem 1146fa1cc6 Merge branch 'dev' into feat/choices
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 34s
Test / Gradle-Test (push) Successful in 41s
2024-12-20 19:30:35 +01:00
tueem 9d88ca902d fix NoSuchElement case on command with no options
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 35s
Publish / Gradle-Publish (push) Successful in 36s
Test / Gradle-Test (push) Successful in 43s
2024-12-20 19:27:36 +01:00
tueem e9b5610f3c Merge pull request 'add Logging to various locations' (#11) from feat/logging into dev
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 37s
Publish / Gradle-Publish (push) Successful in 33s
Test / Gradle-Test (push) Successful in 40s
Reviewed-on: #11
2024-12-20 17:51:24 +00:00
tueem 8e872e7ada Merge branch 'dev' into feat/logging
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 40s
2024-12-20 17:05:18 +01:00
tueem 43c5946227 Merge branch 'dev' into feat/choices
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 40s
2024-12-20 17:04:13 +01:00
tueem 71c910ab93 fix equality check of ExecutableSlashCommand
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Publish / Gradle-Publish (push) Successful in 32s
Test / Gradle-Test (push) Successful in 39s
2024-12-20 17:03:35 +01:00
tueem c5a7f3665e Merge branch 'dev' into feat/choices
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 40s
2024-12-20 14:56:35 +01:00
tueem 3baf1eda9a log the result of an InteractionCheck
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 38s
2024-12-20 00:44:48 +01:00
tueem 628abb4239 fix order and wording
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 42s
2024-12-20 00:32:20 +01:00
tueem 9a89544a9e Merge branch 'dev' into feat/logging
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 31s
Test / Gradle-Test (push) Successful in 41s
2024-12-19 22:11:21 +01:00
tueem 455fc4955f fix ExecutableSlashCommandDefinition toString method with all various checks
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Publish / Gradle-Publish (push) Successful in 33s
Test / Gradle-Test (push) Successful in 39s
2024-12-19 22:11:06 +01:00
tueem b72c55fc6e Merge branch 'dev' into feat/logging
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Failing after 39s
2024-12-19 21:23:48 +01:00
tueem 3691434f66 fix toString method of ExecutableSlashCommandDefinition and added subCommandGroup display
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Publish / Gradle-Publish (push) Successful in 33s
Test / Gradle-Test (push) Successful in 39s
2024-12-19 21:23:24 +01:00
tueem 74d55d81ca add remaining logging in Javacord wrapper and exceptions
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Failing after 41s
2024-12-19 21:12:36 +01:00
tueem 404f221ccf added Logging for InteractionChecks
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Failing after 40s
2024-12-19 21:07:42 +01:00
tueem 7249c99b69 add Logging to Parsers 2024-12-19 20:38:04 +01:00
tueem b764972eba make use of new helper method in InteractionMethod 2024-12-19 20:15:22 +01:00
tueem 83ee4b1efa add method name helper method 2024-12-19 20:04:53 +01:00
tueem 6b86e9ff87 add initialization Logging 2024-12-19 19:41:49 +01:00
tueem 7a40aebd6d add Interactionmethod logging 2024-12-19 19:41:37 +01:00
tueem 76ab779ab2 fix position of Logging in InteractionRegistry
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 35s
Test / Gradle-Test (push) Successful in 47s
2024-12-19 18:36:51 +01:00
tueem 3d19fae6b8 fix null issue in InteractionRegistry
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Successful in 44s
2024-12-19 18:34:00 +01:00
tueem 1ecbc563a6 add Logging in InteractionRegistry
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 34s
Test / Gradle-Test (push) Failing after 44s
2024-12-19 18:07:33 +01:00
tueem bf0022775d add helper LoggerUtil method 2024-12-19 13:30:36 +01:00
tueem a17f5e826f add LoggerUtil to decide which Logger to get
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 35s
Test / Gradle-Test (push) Successful in 39s
2024-12-19 12:28:45 +01:00
tueem 3de0f32074 change to just javacord api dependency 2024-12-19 12:28:27 +01:00
tueem aaf4f3297a add autocomplete option toggle, add double value for non javacord wrappers, rename OptionChoices to match with discords naming and general cleanup
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 31s
Test / Gradle-Test (push) Successful in 39s
2024-12-16 13:03:11 +01:00
tueem 445190db89 added Tests for choices 2024-12-16 12:49:51 +01:00
tueem 9d3a6b8b85 add Autocomplete Test
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Successful in 39s
2024-12-15 23:15:37 +01:00
tueem 1cb6cd0e05 clean up code and switch to request instead of getting from cache 2024-12-15 23:15:29 +01:00
tueem a5e1230fc6 fix issues with ExecutableSlashCommandDefinition equals check 2024-12-15 23:13:57 +01:00
tueem 432db43bf5 add remaining parts of AutocompleteInteraction
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Successful in 40s
2024-12-15 15:09:09 +01:00
tueem 7a2c15d877 create seperate class for ContextObjectProviders and renamed some context parameters from parameter to context.
First parts of AutocompleteInteraction added
2024-12-15 15:08:34 +01:00
tueem f32c7045a1 remove unnecessary getClass call fixing test
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 36s
Test / Gradle-Test (push) Successful in 40s
2024-12-14 12:32:03 +01:00
tueem 69b27e4554 add prototype choices implementation
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 50s
Test / Gradle-Test (push) Failing after 41s
2024-12-13 10:50:30 +01:00
tueem d8504a7cde Merge pull request 'add Checks system' (#6) from feat/checks into dev
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 11s
Publish / Gradle-Publish (push) Successful in 11s
Test / Gradle-Test (push) Successful in 16s
Reviewed-on: #6
2024-12-05 07:51:36 +00:00
tueem bef34ee548 fix null issue
github-mirror / push-github (push) Successful in 3s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 16s
2024-12-03 20:20:57 +01:00
tueem 29bb7e667e add PermissionCHeck test
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 11s
Test / Gradle-Test (push) Failing after 16s
2024-12-02 21:21:00 +01:00
tueem 94da2a0e3c change logic to always give objects the highest value 2024-12-02 21:20:49 +01:00
tueem 7f47130461 add missing annotation annotations 2024-12-02 21:20:26 +01:00
tueem 83a3efd4b8 add canRun check which i forgor 2024-12-02 21:19:58 +01:00
tueem aefd8a51a0 change wrong annotation class usage 2024-12-02 21:19:42 +01:00
tueem 4332592dfa add Javacord PermissionCheck
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 17s
2024-12-02 13:16:28 +01:00
tueem c363ab9744 add ability to return false to cancel execution in pre Checks and remove return type on post checks
github-mirror / push-github (push) Successful in 7s
Build / Gradle-Build (push) Successful in 14s
Test / Gradle-Test (push) Successful in 21s
2024-12-01 13:06:42 +01:00
tueem 33392b02fb add InteractionCheck test
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 13s
Test / Gradle-Test (push) Successful in 15s
2024-11-29 21:41:46 +01:00
tueem b7333c2e5e fix problem with multiple method overrides in generic types. 2024-11-29 21:41:18 +01:00
tueem 239e921e6f change Annotation#getClass to Annotation#annotationType because it was not working as expected 2024-11-29 21:37:13 +01:00
tueem 6eb7fb723f add geantyref to fix and simplify generic Type parsing.
Also switch to java 23 to avoid conflicts and issues.
2024-11-29 21:36:02 +01:00
tueem 659218682e add context Object to check methods and create the ability to have a specific method for each type of context or one for all by using the superclass and casting yourself
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 17s
2024-11-29 18:17:33 +01:00
tueem 019ba8f552 add getMostSpecificMethod method to simplify Check method parsing.
This Method searches the The method that has the best matching parameters with the fewest inheritance levels as possible. Left sided priority
2024-11-29 18:15:47 +01:00
tueem f89ae5e425 - add prototype Interactioncheck impementation.
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 16s
- refactor dependency injection to have all widely used dependencies in the Marinara class.
2024-11-28 10:32:48 +01:00
tueem 582e0f0bae implement AnnotationParser system
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 13s
Test / Gradle-Test (push) Successful in 16s
2024-11-24 00:02:19 +01:00
tueem 0ea330d48b move to seperate files because gitea does not have expressions yet
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 9s
Publish / Gradle-Publish (push) Successful in 10s
Test / Gradle-Test (push) Successful in 13s
2024-11-20 12:01:47 +01:00
tueem c241f6b1fe enable dev branch publishing
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 17s
Publish / Gradle-Publish (push) Successful in 6s
Test / Gradle-Test (push) Successful in 13s
2024-11-20 11:52:41 +01:00
tueem 4ed5482b63 Merge pull request 'add package publishing and CI/CD using Gitea actions' (#5) from feat/ci-cd into master
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 1m32s
Test / Gradle-Test (push) Successful in 21s
Reviewed-on: #5
2024-11-16 12:41:24 +00:00
tueem 4d20dd65f2 upload test results instead of non working publishing
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 1m9s
Test / Gradle-Test (push) Successful in 1m15s
2024-11-15 11:46:58 +01:00
tueem 2ab30a2bc1 switch to comma seperation
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 1m9s
Test / Gradle-Test (push) Failing after 1m19s
2024-11-14 14:32:55 +01:00
tueem 420408fbdf switch to java-junit reporter
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 1m8s
Test / Gradle-Test (push) Failing after 1m17s
2024-11-14 14:11:57 +01:00
tueem df10c54767 fix variable usage
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 2m1s
Test / Gradle-Test (push) Failing after 1m16s
2024-11-14 13:54:12 +01:00
tueem 18d85edcf2 fix formatting
Test / Gradle-Test (push) Waiting to run
github-mirror / push-github (push) Successful in 5s
Build / Gradle-Build (push) Successful in 1m11s
2024-11-14 13:05:36 +01:00
tueem b371ea8520 add setup gradle step
github-mirror / push-github (push) Successful in 6s
Build / Gradle-Build (push) Successful in 2m2s
2024-11-14 12:45:43 +01:00
tueem b28406b16b update artifact directory structure
github-mirror / push-github (push) Successful in 6s
Build / Gradle-Build (push) Successful in 1m6s
2024-11-14 12:38:31 +01:00