68 Commits

Author SHA1 Message Date
3691434f66
fix toString method of ExecutableSlashCommandDefinition and added subCommandGroup display
All checks were successful
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
bef34ee548 fix null issue
All checks were successful
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
94da2a0e3c
change logic to always give objects the highest value 2024-12-02 21:20:49 +01:00
83a3efd4b8
add canRun check which i forgor 2024-12-02 21:19:58 +01:00
aefd8a51a0
change wrong annotation class usage 2024-12-02 21:19:42 +01:00
c363ab9744 add ability to return false to cancel execution in pre Checks and remove return type on post checks
All checks were successful
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
b7333c2e5e
fix problem with multiple method overrides in generic types. 2024-11-29 21:41:18 +01:00
239e921e6f
change Annotation#getClass to Annotation#annotationType because it was not working as expected 2024-11-29 21:37:13 +01:00
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
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
All checks were successful
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
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
f89ae5e425
- add prototype Interactioncheck impementation.
All checks were successful
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
582e0f0bae
implement AnnotationParser system
All checks were successful
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
480c1ec81f
add Button Interaction Method case to factory method 2024-11-07 11:50:09 +01:00
3d2bca4548
fix off by one error 2024-11-07 11:49:45 +01:00
7d9e14eb25
add retention and target and change the annotation parameter to "value" for easier usage 2024-11-06 14:43:49 +01:00
0ce0b3eb4f
Add Button Interaction with specific method parameter support. 2024-11-05 15:54:49 +01:00
e39ac2d67e
fix random nulls in list 2024-11-01 17:37:36 +01:00
0f337696c1
change to selective catching 2024-11-01 17:36:12 +01:00
9d81522429
switch to user create wrapper instances 2024-11-01 16:07:10 +01:00
7888819f6e
rework class invariant checks and cast issues 2024-11-01 16:06:52 +01:00
3d5201329b
Add missing initialisation and nonNull filter 2024-11-01 16:05:33 +01:00
3778f45cf3
fix wrong logic 2024-11-01 15:30:50 +01:00
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
0615741def
ae7e66d06dec042470b78f82bc5ce5bbdfe146c2
rewrite both methods in a more efficient way
2024-10-29 20:58:08 +01:00
1aa052a85b
minor refactoring and addition of isRootCommand() to SlashCommandDefinition 2024-10-29 19:51:37 +01:00
19bf9d24bc
fix further naming
related to df94601816693e22e7ae44506fd0fe04a3bdabb5
2024-10-29 15:42:22 +01:00
ae7e66d06d
Add Helper methods for easier command registration 2024-10-26 19:43:31 +02:00
df94601816
fix naming 2024-10-26 19:13:27 +02:00
d86c307166
rename and removal of ability for multiple subcommandgroups because I was dumb 2024-10-26 01:37:07 +02:00
f4a6bf937d
rename to make more sense x2 2024-10-26 00:56:27 +02:00
11ebb3fdea
rename to make more sense 2024-10-26 00:43:05 +02:00
fd749b31d8
add getUniqueExecutableDefinitions to ApplicationCommandDefinition 2024-10-25 21:04:10 +02:00
cf45d0e8ea
remove unused import 2024-10-25 20:47:54 +02:00
4a13899975
change to register all commands at once to use bulk overwrite features 2024-10-25 20:47:06 +02:00
0c9d8ecb53
change global flag to a list of serverIds and if it is empty it will be global 2024-10-25 20:25:57 +02:00
ec75215b72
compare ApplicationCommand annotations only by name 2024-10-25 20:15:49 +02:00
f12c83cf96
add isGlobal variable to the command annotation 2024-10-25 20:09:22 +02:00
d0cbb096a8
remove unused libraries 2024-10-25 19:41:43 +02:00
824fcca52e
move InteractionHandler to interaction package 2024-10-25 19:41:28 +02:00
492399ec82
Switch to internal Librarywrapper instance management. 2024-10-25 19:40:50 +02:00
3e50a065a3
add wrapper register execution 2024-10-15 17:43:23 +02:00
b562349cae
merge Global and Server register methods into one 2024-10-15 17:43:07 +02:00
e38a382a7a
remnants of intermediate step removal 2024-10-15 17:34:22 +02:00
b0742e65ad
add definition parameter to wrapper register method 2024-10-15 17:31:13 +02:00
410b299ad6
add first ApplicationCommandDefinition implementation 2024-10-15 17:30:39 +02:00
89d172e2f3
remove intermediate variable step 2024-10-15 17:29:57 +02:00
b809411faf
add registerCommands() method 2024-10-14 17:13:51 +02:00
42a1d86bf9
add ApplicationCommandDefinition prototype 2024-10-14 17:13:18 +02:00
1a4dfff8ec
+ rename and move options into definition 2024-10-14 17:12:44 +02:00