From c86bea018137d064f6f8e4d8208f2512dc60370f Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 10 Feb 2021 23:33:07 -0600 Subject: [PATCH] chore: add logging to my_help --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index af75b53..96eb03d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -222,6 +222,8 @@ async fn my_help( groups: &[&'static CommandGroup], owners: HashSet, ) -> 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; Ok(()) }