diff options
Diffstat (limited to 'src/ext/framework/command.rs')
| -rw-r--r-- | src/ext/framework/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/framework/command.rs b/src/ext/framework/command.rs index 70ee4ff..76ca416 100644 --- a/src/ext/framework/command.rs +++ b/src/ext/framework/command.rs @@ -7,7 +7,7 @@ use std::collections::HashMap; pub type Check = Fn(&mut Context, &Message) -> bool + Send + Sync + 'static; pub type Exec = Fn(&mut Context, &Message, Vec<String>) -> Result<(), String> + Send + Sync + 'static; -pub type Help = Fn(&mut Context, &Message, HashMap<String, Arc<CommandGroup>>, Vec<String>) -> Result<(), String> + Send + Sync + 'static; +pub type Help = Fn(&mut Context, &Message, HashMap<String, Arc<CommandGroup>>, &[String]) -> Result<(), String> + Send + Sync + 'static; pub type BeforeHook = Fn(&mut Context, &Message, &String) -> bool + Send + Sync + 'static; pub type AfterHook = Fn(&mut Context, &Message, &String, Result<(), String>) + Send + Sync + 'static; #[doc(hidden)] |