private async Task SendOperationErrorMessage(MessageCreateEventArgs e, int operationId) { string text = (operationId == 0) ? "There are no active operations" : $"Operation {DiscordText.BigText(operationId)} does not exist"; await SendError(e, text); }
private async Task VersionCommand(MessageCreateEventArgs e) { string text = "Version: " + DiscordText.BigText(OpBotUtils.GetVersionText()); await e.Channel.SendMessageAsync(text); }