chore: add logging to my_help

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-02-10 23:33:07 -06:00
parent b6594ae083
commit c86bea0181
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ async fn my_help(
groups: &[&'static CommandGroup], groups: &[&'static CommandGroup],
owners: HashSet<UserId>, owners: HashSet<UserId>,
) -> CommandResult { ) -> CommandResult {
let author_name = format!("{}#{}", msg.author.name, msg.author.discriminator);
info!("{} asked for help", author_name);
let _ = help_commands::with_embeds(context, msg, args, help_options, groups, owners).await; let _ = help_commands::with_embeds(context, msg, args, help_options, groups, owners).await;
Ok(()) Ok(())
} }