From 6e1fce6e18d452965ce0bebe91241a84c929ba4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Kr=C3=BCger?= Date: Wed, 8 Jan 2025 18:06:24 +0100 Subject: [PATCH] Fix wrong kotlin syntax in kord docs --- docs/discord/kord.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/discord/kord.md b/docs/discord/kord.md index 18bc874..564ad16 100644 --- a/docs/discord/kord.md +++ b/docs/discord/kord.md @@ -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