[][src]Function serenity::framework::standard::help_commands::is_command_visible

pub fn is_command_visible(
    command_options: &Arc<CommandOptions>,
    msg: &Message,
    help_options: &HelpOptions
) -> bool

Checks whether a command would be visible, takes permissions, channel sent in, and roles into consideration.

Note: A command is visible when it is either normally displayed or strikethrough upon requested help by a user.