diff --git a/docs/discord/kord.md b/docs/discord/kord.md index 18bc874..821c185 100644 --- a/docs/discord/kord.md +++ b/docs/discord/kord.md @@ -126,9 +126,9 @@ CommandScopeBuilderModifier.install(annotationParser) You may then use the annotation: ```kotlin -@CommandScope(guilds = { 1337 }) +@CommandScope(guilds = [1337]) @Command("command") -public suspend void yourCommand() { /* ... */ } +public suspend fun yourCommand() { /* ... */ } ``` ### Permissions