From bcdd4f125d029c6d4c8a3ca79ba3ebecdb9515ab Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Mon, 7 Nov 2016 13:52:50 -0800 Subject: Add arguments to framework commands --- src/ext/framework/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ext/framework/command.rs') diff --git a/src/ext/framework/command.rs b/src/ext/framework/command.rs index 31b2520..43d3c9a 100644 --- a/src/ext/framework/command.rs +++ b/src/ext/framework/command.rs @@ -2,6 +2,6 @@ use std::sync::Arc; use ::client::Context; use ::model::Message; -pub type Command = Fn(Context, Message) + Send + Sync; +pub type Command = Fn(Context, Message, Vec) + Send + Sync; #[doc(hidden)] pub type InternalCommand = Arc; -- cgit v1.2.3