public async Task <RuntimeResult> CancelEvent(string query = "") { try { int id = _schedulingService.CancelEvent(Context.Guild.Id, query); await ReplyAsync(string.Format("Cancelled event [{0}]", id)); return(CommandResult.FromSuccess()); } catch (Exception ex) { _logger.LogError(ex, ex.Message); return(CommandResult.FromError(ex.Message)); } }