mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 04:24:20 +00:00
Add command descriptions
This commit is contained in:
parent
251080aa48
commit
546b6a46a3
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue