Function pikadick::checks::enabled::create_slash_check
source · pub fn create_slash_check<'a>(
ctx: &'a Context,
interaction: &'a CommandInteraction,
command: &'a Command
) -> BoxFuture<'a, Result<(), Reason>>
Expand description
Check if a command is enabled via slash framework