public async Task MsgLogSql([Remainder] string query) { try { MessageHistory messageHistory = new MessageHistory(); await SendMsg((await messageHistory.ExecuteNonquery(query)).ToString()); } catch (Exception e) { await SendMsg(e.Message + "\n" + e.StackTrace); } }