smol debug in identity

This commit is contained in:
ModulatingForce 2024-03-27 01:29:09 -04:00
parent 4e9316ad49
commit 5249c3af25

View file

@ -553,7 +553,16 @@ async fn getroles(params : ExecBodyParams) {
let arg1 = argv.next(); let arg1 = argv.next();
let targetuser = match arg1 { let targetuser = match arg1 {
None => return, // exit if no arguments None => {
botlog::debug(
"Exittingcmd getroles - Invalid arguments ",
Some("identity.rs > init > getroles()".to_string()),
Some(&params.msg),
);
return
}, // exit if no arguments
Some(arg) => arg, Some(arg) => arg,
}; };