mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Rebase https://github.com/teloxide/teloxide/tree/master
into https://github.com/TheAwiteb/teloxide/tree/support-doc-attr
This commit is contained in:
parent
e95c69419b
commit
9a2e39ea01
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ pub use teloxide_macros::BotCommands;
|
|||
/// 2. `#[command(prefix = "prefix")]`
|
||||
/// Change a prefix for all commands (the default is `/`).
|
||||
///
|
||||
/// 3. `#[command(description = "description")]`
|
||||
/// 3. `#[command(description = "description")]` and `/// description`
|
||||
/// Add a summary description of commands before all commands.
|
||||
///
|
||||
/// 4. `#[command(parse_with = "parser")]`
|
||||
|
@ -167,7 +167,7 @@ pub use teloxide_macros::BotCommands;
|
|||
/// Rename one command to `name` (literal renaming; do not confuse with
|
||||
/// `rename_rule`).
|
||||
///
|
||||
/// 3. `#[command(description = "description")]`
|
||||
/// 3. `#[command(description = "description")]` and `/// description`
|
||||
/// Give your command a description. It will be shown in the help message.
|
||||
///
|
||||
/// 4. `#[command(parse_with = "parser")]`
|
||||
|
|
Loading…
Reference in a new issue