Beispiel #1
0
        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);
        }
Beispiel #2
0
 private async Task VersionCommand(MessageCreateEventArgs e)
 {
     string text = "Version: " + DiscordText.BigText(OpBotUtils.GetVersionText());
     await e.Channel.SendMessageAsync(text);
 }