pub(crate) async fn set_msg_failed( context: &Context, msg: &mut Message, error: &str, ) -> Result<()>