111 Commits

Author SHA1 Message Date
432db43bf5
add remaining parts of AutocompleteInteraction 2024-12-15 15:09:09 +01:00
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
f32c7045a1
remove unnecessary getClass call fixing test 2024-12-14 12:32:03 +01:00
69b27e4554
add prototype choices implementation 2024-12-13 10:50:30 +01:00
d8504a7cde Merge pull request 'add Checks system' () from feat/checks into dev
Reviewed-on: 
2024-12-05 07:51:36 +00:00
bef34ee548 fix null issue 2024-12-03 20:20:57 +01:00
29bb7e667e
add PermissionCHeck test 2024-12-02 21:21:00 +01:00
94da2a0e3c
change logic to always give objects the highest value 2024-12-02 21:20:49 +01:00
7f47130461
add missing annotation annotations 2024-12-02 21:20:26 +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
4332592dfa
add Javacord PermissionCheck 2024-12-02 13:16:28 +01:00
c363ab9744 add ability to return false to cancel execution in pre Checks and remove return type on post checks 2024-12-01 13:06:42 +01:00
33392b02fb
add InteractionCheck test 2024-11-29 21:41:46 +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 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.
- 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 2024-11-24 00:02:19 +01:00
0ea330d48b
move to seperate files because gitea does not have expressions yet 2024-11-20 12:01:47 +01:00
c241f6b1fe
enable dev branch publishing 2024-11-20 11:52:41 +01:00
4ed5482b63 Merge pull request 'add package publishing and CI/CD using Gitea actions' () from feat/ci-cd into master
Reviewed-on: 
2024-11-16 12:41:24 +00:00
4d20dd65f2
upload test results instead of non working publishing 2024-11-15 11:46:58 +01:00
2ab30a2bc1
switch to comma seperation 2024-11-14 14:32:55 +01:00
420408fbdf
switch to java-junit reporter 2024-11-14 14:11:57 +01:00
df10c54767
fix variable usage 2024-11-14 13:54:12 +01:00
18d85edcf2
fix formatting 2024-11-14 13:05:36 +01:00
b371ea8520
add setup gradle step 2024-11-14 12:45:43 +01:00
b28406b16b
update artifact directory structure 2024-11-14 12:38:31 +01:00
f31292c5b7
switch artifact action to gitea one 2024-11-14 12:23:41 +01:00
de83137886
add first version of CI with build, test and publish 2024-11-14 11:53:08 +01:00
fd3933df25
add publications 2024-11-13 10:22:25 +01:00
c00b6033cc
rename package in wrapper-javacord 2024-11-13 10:08:55 +01:00
186fa10684 Merge pull request 'Add Button Interaction Implementation' () from feat/buttons into master
Reviewed-on: 
2024-11-08 13:41:21 +00:00
7d378e6451
set fetch depth 0 2024-11-07 12:42:09 +01:00
f835cfa500
change runs-on 2024-11-07 12:22:41 +01:00
cb8b799000
add github mirror action 2024-11-07 12:21:14 +01:00
fcc99597e6
remove unused imports 2024-11-07 11:51:43 +01:00
d457e57614
Add Button Execution Test 2024-11-07 11:51:02 +01:00
8a7348eebc
fix class names and add Button Interaction type case 2024-11-07 11:50:52 +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
5689fef866
remove unused import 2024-11-07 11:49:30 +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
7fa402ac38
ignore bin directories 2024-11-06 14:43:11 +01:00
eaff502892
remove unused imports 2024-11-06 14:29:42 +01:00
76d4d5b525
add Javacord impl 2024-11-05 15:55:01 +01:00
0ce0b3eb4f
Add Button Interaction with specific method parameter support. 2024-11-05 15:54:49 +01:00