Commit Graph
100 Commits
Author SHA1 Message Date
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 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
tueem f31292c5b7 switch artifact action to gitea one
github-mirror / push-github (push) Successful in 11s
Build / Gradle Build (push) Successful in 7m57s
2024-11-14 12:23:41 +01:00
tueem de83137886 add first version of CI with build, test and publish
github-mirror / push-github (push) Successful in 4s
Build / Gradle Build (push) Failing after 7m19s
2024-11-14 11:53:08 +01:00
tueem fd3933df25 add publications
github-mirror / push-github (push) Successful in 4s
2024-11-13 10:22:25 +01:00
tueem c00b6033cc rename package in wrapper-javacord
github-mirror / push-github (push) Successful in 4s
2024-11-13 10:08:55 +01:00
tueem 186fa10684 Merge pull request 'Add Button Interaction Implementation' (#4) from feat/buttons into master
github-mirror / push-github (push) Successful in 4s
Reviewed-on: #4
2024-11-08 13:41:21 +00:00
tueem 7d378e6451 set fetch depth 0
github-mirror / push-github (push) Successful in 4s
2024-11-07 12:42:09 +01:00
tueem f835cfa500 change runs-on
github-mirror / push-github (push) Failing after 4s
2024-11-07 12:22:41 +01:00
tueem cb8b799000 add github mirror action
github-mirror / push-github (push) Waiting to run
2024-11-07 12:21:14 +01:00
tueem fcc99597e6 remove unused imports 2024-11-07 11:51:43 +01:00
tueem d457e57614 Add Button Execution Test 2024-11-07 11:51:02 +01:00
tueem 8a7348eebc fix class names and add Button Interaction type case 2024-11-07 11:50:52 +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 5689fef866 remove unused import 2024-11-07 11:49:30 +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 7fa402ac38 ignore bin directories 2024-11-06 14:43:11 +01:00
tueem eaff502892 remove unused imports 2024-11-06 14:29:42 +01:00
tueem 76d4d5b525 add Javacord impl 2024-11-05 15:55:01 +01:00
tueem 0ce0b3eb4f Add Button Interaction with specific method parameter support. 2024-11-05 15:54:49 +01:00
tueem 11fd16fa77 Add Command Execution test 2024-11-01 17:38:02 +01:00
tueem bbeb58e5e4 fix isAssignableFrom order 2024-11-01 17:37: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 9f87f47b1f Add Javacord test 2024-11-01 16:07:18 +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 4b835187b5 remove unused dependencies 2024-11-01 16:05:04 +01:00
tueem 3778f45cf3 fix wrong logic 2024-11-01 15:30:50 +01:00
tueem 6bd6021b86 finish first version of javacord wrapper with implementation of:
- getInteractionType()
- convertCommandOption()
- getCommandDefinition
2024-10-31 16:06:23 +01:00
tueem b0abb423d3 add register impl 2024-10-29 23:20:19 +01:00
tueem 22f9810f7b Add first version of command registration code 2024-10-29 23:08:15 +01:00
tueem 9768572577 add javacord dependency 2024-10-29 23:03:29 +01:00
tueem 2cdf574df0 add base structure 2024-10-29 23:03:29 +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
tueem 4a13899975 change to register all commands at once to use bulk overwrite features 2024-10-25 20:47:06 +02:00
tueem 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
tueem ec75215b72 compare ApplicationCommand annotations only by name 2024-10-25 20:15:49 +02:00
tueem f12c83cf96 add isGlobal variable to the command annotation 2024-10-25 20:09:22 +02:00
tueem d0cbb096a8 remove unused libraries 2024-10-25 19:41:43 +02:00
tueem 824fcca52e move InteractionHandler to interaction package 2024-10-25 19:41:28 +02:00
tueem 492399ec82 Switch to internal Librarywrapper instance management. 2024-10-25 19:40:50 +02:00
tueem 3e50a065a3 add wrapper register execution 2024-10-15 17:43:23 +02:00
tueem b562349cae merge Global and Server register methods into one 2024-10-15 17:43:07 +02:00
tueem e38a382a7a remnants of intermediate step removal 2024-10-15 17:34:22 +02:00
tueem b0742e65ad add definition parameter to wrapper register method 2024-10-15 17:31:13 +02:00
tueem 410b299ad6 add first ApplicationCommandDefinition implementation 2024-10-15 17:30:39 +02:00
tueem 89d172e2f3 remove intermediate variable step 2024-10-15 17:29:57 +02:00
tueem b809411faf add registerCommands() method 2024-10-14 17:13:51 +02:00
tueem 42a1d86bf9 add ApplicationCommandDefinition prototype 2024-10-14 17:13:18 +02:00
tueem 1a4dfff8ec + rename and move options into definition 2024-10-14 17:12:44 +02:00
tueem bde3c401fb + rename 2024-10-14 17:11:43 +02:00
tueem 533af43bea rename of the Command data class 2024-10-14 17:11:14 +02:00
tueem ac8f6bdbb3 First basic data in API object 2024-10-14 00:54:50 +02:00
tueem f011ec513a change name of add method as it makes sense 2024-10-14 00:54:29 +02:00