diff --git a/src/dispatching/repls/commands_repl.rs b/src/dispatching/repls/commands_repl.rs index 9b136006..b4f98866 100644 --- a/src/dispatching/repls/commands_repl.rs +++ b/src/dispatching/repls/commands_repl.rs @@ -41,6 +41,10 @@ use std::{fmt::Debug, marker::PhantomData}; /// - `Cmd` (type of the parsed command) /// - [`Me`] /// +/// Each of these types can be accepted as a handler parameter. Note that they +/// aren't all required at the same time: e.g., you can take only the bot and +/// the command without [`Me`] and [`Message`]. +/// /// [`Me`]: crate::types::Me /// [`Message`]: crate::types::Message /// @@ -103,6 +107,10 @@ where /// - `Cmd` (type of the parsed command) /// - [`Me`] /// +/// Each of these types can be accepted as a handler parameter. Note that they +/// aren't all required at the same time: e.g., you can take only the bot and +/// the command without [`Me`] and [`Message`]. +/// /// [`Me`]: crate::types::Me /// [`Message`]: crate::types::Message /// diff --git a/src/dispatching/repls/repl.rs b/src/dispatching/repls/repl.rs index 1c6fd659..e0d52eae 100644 --- a/src/dispatching/repls/repl.rs +++ b/src/dispatching/repls/repl.rs @@ -30,6 +30,10 @@ use std::fmt::Debug; /// - `R` (type of the `bot`) /// - [`Me`] /// +/// Each of these types can be accepted as a handler parameter. Note that they +/// aren't all required at the same time: e.g., you can take only the bot and +/// the command without [`Me`] and [`Message`]. +/// /// [`Me`]: crate::types::Me /// [`Message`]: crate::types::Message /// @@ -78,6 +82,10 @@ where /// - `R` (type of the `bot`) /// - [`Me`] /// +/// Each of these types can be accepted as a handler parameter. Note that they +/// aren't all required at the same time: e.g., you can take only the bot and +/// the command without [`Me`] and [`Message`]. +/// /// [`Me`]: crate::types::Me /// [`Message`]: crate::types::Message ///