Skip to content

Commit ebc830d

Browse files
committed
[Gradle Release Plugin] - pre tag commit: 'v0.7.0'.
1 parent 04a9829 commit ebc830d

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ repositories {
102102
mavenCentral()
103103
}
104104
dependencies {
105-
implementation("net.kautler:command-framework:0.6.0-SNAPSHOT")
105+
implementation("net.kautler:command-framework:0.7.0-SNAPSHOT")
106106
}
107107
```
108108

@@ -116,7 +116,7 @@ you can request the according feature variants like this:
116116

117117
```kotlin
118118
dependencies {
119-
implementation("net.kautler:command-framework:0.6.0-SNAPSHOT") {
119+
implementation("net.kautler:command-framework:0.7.0-SNAPSHOT") {
120120
capabilities {
121121
requireFeature("javacord-support")
122122
}
@@ -140,7 +140,7 @@ _**Published Feature Variants:**_
140140
<dependency>
141141
<groupId>net.kautler</groupId>
142142
<artifactId>command-framework</artifactId>
143-
<version>0.6.0-SNAPSHOT</version>
143+
<version>0.7.0-SNAPSHOT</version>
144144
</dependency>
145145
```
146146

@@ -304,7 +304,9 @@ If your command needs parameters or you want to do other customizations of the `
304304
`SlashCommandJda#prepareSlashCommandData` method, which just returns the argument in its default implementation.
305305
In the implementation of the method you can then use the full API for JDA slash commands. For subcommands you instead
306306
overwrite the `SlashCommandJda#prepareSubcommandData` method, which has the same default implementation and customizes
307-
a `SubcommandData`.
307+
a `SubcommandData`. When having subcommands, Discord does not allow to have the top-level command as actual command
308+
itself. In this framework you can though still have that top-level command to customize the `SlashCommandData` for that
309+
parent of the subcommands, for example to set the integration types or contexts.
308310

309311
When using [command context transformers](#customizing-the-command-recognition-and-resolution-process) with slash
310312
commands, all phases before `BEFORE_COMMAND_COMPUTATION` are skipped by the command handler already.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ org.gradle.caching = true
1919

2020
group = net.kautler
2121
description = A generic CDI-based command framework
22-
version = 0.7.0-SNAPSHOT
22+
version = 0.7.0
2323

2424
kotlin.code.style = official
2525
systemProp.org.codenarc.enhancedMode = true

readme/README.md.sha256

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7d0da795a8d4ae1140b589b4c3e7e1dc0dc2e3990c515bffe4e0ad483def9b42
1+
7405f26177022bd3036e39b2894bb86d6ebd6fcbdfd1c2538217612a9673e08d

0 commit comments

Comments
 (0)