Пример #1
0
        public async Task Read(string title, string contents)
        {
            TextHandler._fileName = title;

            string textTitle = "Error";

            if (title == "augustineconfessions")
            {
                textTitle = "The Confessions of St. Augustine " + contents;
            }


            bodyText = TextHandler.GetContents(contents);

            var embed = new EmbedBuilder();

            embed.WithTitle(textTitle);
            embed.WithDescription(bodyText);
            embed.WithColor(new Color(0, 255, 0));
            await Context.Channel.SendMessageAsync("", false, embed.Build());
        }