1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-25 12:34:19 +00:00

Add command descriptions

This commit is contained in:
Steffo 2024-07-08 04:24:27 +02:00
parent 251080aa48
commit 546b6a46a3
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -17,8 +17,11 @@ mod echo;
#[derive(Debug, Clone, BotCommands)] #[derive(Debug, Clone, BotCommands)]
#[command(rename_rule = "lowercase")] #[command(rename_rule = "lowercase")]
enum Command { enum Command {
#[command(description = "Invia messaggio di introduzione.")]
Start, Start,
#[command(description = "Mostra il tuo oroscopo di oggi.")]
Fortune, Fortune,
#[command(description = "Ripeti il testo inviato.")]
Echo(String) Echo(String)
} }