public void SendErrorResponse(Response response, int id, string format, dynamic arguments = null, bool user = true, bool telemetry = false)
 {
     var msg = new Message(id, format, arguments, user, telemetry);
     var message = Utilities.ExpandVariables(msg.format, msg.variables);
     response.SetErrorBody(message, new ErrorResponseBody(msg));
     SendMessage(response);
 }
 public ErrorResponseBody(Message error)
 {
     this.error = error;
 }