Skip to content

Commit

Permalink
Fix wrong kotlin syntax in kord docs
Browse files Browse the repository at this point in the history
  • Loading branch information
radstevee authored Jan 8, 2025
1 parent ed64225 commit 6e1fce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/discord/kord.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ You may then use the annotation:
```kotlin
@CommandScope(guilds = { 1337 })
@Command("command")
public suspend void yourCommand() { /* ... */ }
public suspend fun yourCommand() { /* ... */ }
```

### Permissions
Expand Down

0 comments on commit 6e1fce6

Please sign in to comment.