Type Definition telescope::discord_bot::commands::InteractionHandler[][src]

pub type InteractionHandler = for<'a> fn(_: &'a Context, _: &'a ApplicationCommandInteraction) -> BoxFuture<'a, Result<()>>;
Expand description

Interaction handler type. All interaction handlers are references to async functions that act on context and interaction data.