From 29377922d3d79848efcb8d3bd0fbd52c21e81c5d Mon Sep 17 00:00:00 2001 From: Lakelezz <12222135+Lakelezz@users.noreply.github.com> Date: Thu, 15 Feb 2018 13:44:10 +0100 Subject: Add `unrecognised_command` (#276) --- src/framework/standard/command.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/framework/standard/command.rs') diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs index 541d1b9..a971c1f 100644 --- a/src/framework/standard/command.rs +++ b/src/framework/standard/command.rs @@ -32,6 +32,7 @@ impl HelpCommand for Help { pub type BeforeHook = Fn(&mut Context, &Message, &str) -> bool + Send + Sync + 'static; pub type AfterHook = Fn(&mut Context, &Message, &str, Result<(), Error>) + Send + Sync + 'static; +pub type UnrecognisedCommandHook = Fn(&mut Context, &Message, &str) + Send + Sync + 'static; pub(crate) type InternalCommand = Arc; pub type PrefixCheck = Fn(&mut Context, &Message) -> Option + Send + Sync + 'static; -- cgit v1.2.3