chore: add logging to my_help
This commit is contained in:
parent
b6594ae083
commit
c86bea0181
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue