This commit is contained in:
ModulatingForce 2024-04-09 12:36:46 -04:00
parent 16c6b0eebb
commit dfb37717b3

View file

@ -322,19 +322,19 @@ async fn cmd_promote(params : ExecBodyParams) {
let outmsg = match rslt {
ChangeResult::Success(rsltstr) => {
format!("o7 Successfully promoted {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}
ChangeResult::Failed(rsltstr) => {
format!("PoroSad failed to promote {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}
ChangeResult::NoChange(rsltstr) => {
format!("uuh No Promotion Change {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}
@ -558,19 +558,19 @@ async fn cmd_demote(params : ExecBodyParams) {
let outmsg = match rslt {
ChangeResult::Success(rsltstr) => {
format!("o7 Successfully demoted {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}
ChangeResult::Failed(rsltstr) => {
format!("PoroSad failed to demote {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}
ChangeResult::NoChange(rsltstr) => {
format!("uuh No Demotion Change {} : {}",
targetusr.unwrap().to_string(),
targetusr.unwrap(),
rsltstr
)
}