From 5f12170e5c7a23ffd2e15d27d18a7e5f446e72a8 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Fri, 14 Feb 2020 00:32:21 +0600 Subject: [PATCH] Add a link to examples/admin_bot to teloxide::utils::command --- src/utils/command.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/command.rs b/src/utils/command.rs index 53350936..7ca76b83 100644 --- a/src/utils/command.rs +++ b/src/utils/command.rs @@ -39,9 +39,12 @@ //! assert_eq!(args, vec!["3", "hours"]); //! ``` //! +//! See [examples/admin_bot] as a more complicated examples. +//! //! [`parse_command`]: crate::utils::command::parse_command //! [`parse_command_with_prefix`]: //! crate::utils::command::parse_command_with_prefix +//! [examples/admin_bot]: https://github.com/teloxide/teloxide/blob/dev/examples/miltiple_handlers_bot/ pub use teloxide_macros::BotCommand;