mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add tests for #[command(hide)]
This commit is contained in:
parent
7c23bfc546
commit
f6595383c4
1 changed files with 3 additions and 1 deletions
|
@ -204,8 +204,10 @@ fn descriptions_off() {
|
|||
#[derive(BotCommands, Debug, PartialEq)]
|
||||
#[command(rename_rule = "lowercase")]
|
||||
enum DefaultCommands {
|
||||
#[command(description = "off")]
|
||||
#[command(hide)]
|
||||
Start,
|
||||
#[command(hide)]
|
||||
Username,
|
||||
Help,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue