aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework/command.rs
blob: 43d3c9acdee61b2fcd6f1920d722a6b45b8692d3 (plain) (blame)
1
2
3
4
5
6
7
use std::sync::Arc;
use ::client::Context;
use ::model::Message;

pub type Command = Fn(Context, Message, Vec<String>) + Send + Sync;
#[doc(hidden)]
pub type InternalCommand = Arc<Command>;