Skip to content

Commit 5644172

Browse files
authored
fix(kotlin): void -> fun in ktor docs (#53)
1 parent 559d3b7 commit 5644172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/discord/kord.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ CommandScopeBuilderModifier.install(annotationParser)
126126
You may then use the annotation:
127127

128128
```kotlin
129-
@CommandScope(guilds = { 1337 })
129+
@CommandScope(guilds = [1337])
130130
@Command("command")
131-
public suspend void yourCommand() { /* ... */ }
131+
public suspend fun yourCommand() { /* ... */ }
132132
```
133133

134134
### Permissions

0 commit comments

Comments
 (0)