Add confirmation message to p.rh

This commit is contained in:
2026-04-06 17:20:02 -03:00
parent 2823868460
commit afcfdad13d
+2
View File
@@ -347,6 +347,8 @@ impl Command<State, Extras> for RemoteHangupCommand {
call.hangup(&ctx.rt.state.db)
.await
.inspect_err(|e| log::error!("Failed to hang up call: {e:?}"))?;
ctx.send().content(format!("<#{}> had its call hung up.", channel.id)).await?;
} else {
ctx.send()
.content("❌ This channel is not in a call.")