From 8fc8c81403c3daa187ba96a7d488a64db21463bf Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Mon, 19 Sep 2016 09:00:03 -0700 Subject: Initial commit --- src/ext/framework/command.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/ext/framework/command.rs (limited to 'src/ext/framework/command.rs') diff --git a/src/ext/framework/command.rs b/src/ext/framework/command.rs new file mode 100644 index 0000000..31b2520 --- /dev/null +++ b/src/ext/framework/command.rs @@ -0,0 +1,7 @@ +use std::sync::Arc; +use ::client::Context; +use ::model::Message; + +pub type Command = Fn(Context, Message) + Send + Sync; +#[doc(hidden)] +pub type InternalCommand = Arc; -- cgit v1.2.3