Function telescope::discord_bot::commands::get_handler [−][src]
pub fn get_handler(
command_name: &str
) -> Option<for<'a> fn(_: &'a Context, _: &'a ApplicationCommandInteraction) -> BoxFuture<'a, Result<()>>>
Expand description
Get the handler for a given interaction by its command name.