Commit Graph

132 Commits

Author SHA1 Message Date
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 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 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 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 94da2a0e3c change logic to always give objects the highest value 2024-12-02 21:20:49 +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 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 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 480c1ec81f add Button Interaction Method case to factory method 2024-11-07 11:50:09 +01:00
tueem 3d2bca4548 fix off by one error 2024-11-07 11:49:45 +01:00
tueem 7d9e14eb25 add retention and target and change the annotation parameter to "value" for easier usage 2024-11-06 14:43:49 +01:00
tueem 0ce0b3eb4f Add Button Interaction with specific method parameter support. 2024-11-05 15:54:49 +01:00
tueem e39ac2d67e fix random nulls in list 2024-11-01 17:37:36 +01:00
tueem 0f337696c1 change to selective catching 2024-11-01 17:36:12 +01:00
tueem 9d81522429 switch to user create wrapper instances 2024-11-01 16:07:10 +01:00
tueem 7888819f6e rework class invariant checks and cast issues 2024-11-01 16:06:52 +01:00
tueem 3d5201329b Add missing initialisation and nonNull filter 2024-11-01 16:05:33 +01:00
tueem 3778f45cf3 fix wrong logic 2024-11-01 15:30:50 +01:00
tueem 0c3aeed4f4 Add getFullSlashCommand() method to get the SlashCommand annotation instance that has options if it is a rootcommand 2024-10-29 23:03:09 +01:00
tueem 0615741def ae7e66d06d
rewrite both methods in a more efficient way
2024-10-29 20:58:08 +01:00
tueem 1aa052a85b minor refactoring and addition of isRootCommand() to SlashCommandDefinition 2024-10-29 19:51:37 +01:00
tueem 19bf9d24bc fix further naming
related to df94601816
2024-10-29 15:42:22 +01:00
tueem ae7e66d06d Add Helper methods for easier command registration 2024-10-26 19:43:31 +02:00
tueem df94601816 fix naming 2024-10-26 19:13:27 +02:00
tueem d86c307166 rename and removal of ability for multiple subcommandgroups because I was dumb 2024-10-26 01:37:07 +02:00
tueem f4a6bf937d rename to make more sense x2 2024-10-26 00:56:27 +02:00
tueem 11ebb3fdea rename to make more sense 2024-10-26 00:43:05 +02:00
tueem fd749b31d8 add getUniqueExecutableDefinitions to ApplicationCommandDefinition 2024-10-25 21:04:10 +02:00
tueem cf45d0e8ea remove unused import 2024-10-25 20:47:54 +02:00