Skip to content

Commit 6b641fc

Browse files
radsteveeCitymonstret
authored andcommitted
Fix wrong kotlin syntax in kord docs
1 parent 559d3b7 commit 6b641fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/discord/kord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ You may then use the annotation:
128128
```kotlin
129129
@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)