From 546b6a46a395bb0c78e59b6c8e7ac9c29922a26f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 8 Jul 2024 04:24:27 +0200 Subject: [PATCH] Add command descriptions --- src/telegram/commands/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/telegram/commands/mod.rs b/src/telegram/commands/mod.rs index 97425912..7ee35f8d 100644 --- a/src/telegram/commands/mod.rs +++ b/src/telegram/commands/mod.rs @@ -17,8 +17,11 @@ mod echo; #[derive(Debug, Clone, BotCommands)] #[command(rename_rule = "lowercase")] enum Command { + #[command(description = "Invia messaggio di introduzione.")] Start, + #[command(description = "Mostra il tuo oroscopo di oggi.")] Fortune, + #[command(description = "Ripeti il testo inviato.")] Echo(String) }