diff options
Diffstat (limited to 'src/framework/standard/create_group.rs')
| -rw-r--r-- | src/framework/standard/create_group.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/framework/standard/create_group.rs b/src/framework/standard/create_group.rs index 25279ca..77fb348 100644 --- a/src/framework/standard/create_group.rs +++ b/src/framework/standard/create_group.rs @@ -1,6 +1,6 @@ pub use super::command::{Command, CommandGroup, CommandOptions, Error as CommandError}; pub(crate) use super::command::CommandOrAlias; -pub(crate) use super::command::{Help, HelpFunction}; +pub use super::create_help_command::{CreateHelpCommand}; pub use super::create_command::{CreateCommand, FnOrCommand}; pub use super::Args; @@ -90,13 +90,6 @@ impl CreateGroup { self } - /// Sets what code should be execute when a user requests for `(prefix)help`. - pub fn help(mut self, f: HelpFunction) -> Self { - self.0.help = Some(Arc::new(Help(f))); - - self - } - /// If prefix is set, it will be required before all command names. /// For example, if bot prefix is "~" and group prefix is "image" /// we'd call a subcommand named "hibiki" by sending "~image hibiki". |