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

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

Posts an embed showing 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::with_embeds)));