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

pub fn plain(
    _: &mut Context,
    msg: &Message,
    groups: HashMap<String, Arc<CommandGroup>>,
    args: Args
) -> Result<(), CommandError>

Posts formatted text displaying each individual command group and its commands.

Examples

Use the command with exec_help:

use serenity::framework::standard::{StandardFramework, help_commands};

client.with_framework(StandardFramework::new()
    .command("help", |c| c.exec_help(help_commands::plain)));