Type Definition slashy::commands::CommandFunction
source · pub type CommandFunction = fn(_: &CommandContext) -> BoxFuture<'_, CommandResult>;
Expand description
A function run for a command
pub type CommandFunction = fn(_: &CommandContext) -> BoxFuture<'_, CommandResult>;
A function run for a command