We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559d3b7 commit 5644172Copy full SHA for 5644172
1 file changed
docs/discord/kord.md
@@ -126,9 +126,9 @@ CommandScopeBuilderModifier.install(annotationParser)
126
You may then use the annotation:
127
128
```kotlin
129
-@CommandScope(guilds = { 1337 })
+@CommandScope(guilds = [1337])
130
@Command("command")
131
-public suspend void yourCommand() { /* ... */ }
+public suspend fun yourCommand() { /* ... */ }
132
```
133
134
### Permissions
0 commit comments