Add confirmation message to p.rh
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user