Exemplo n.º 1
0
        public async Task HaiBai()
        {
            statisticsManager.AddToHaiBaiCount();

            EmbedBuilder builder = new EmbedBuilder();

            builder.ImageUrl = "http://couchbot.io/img/bot/haibai.gif";
            builder.AddField(f =>
            {
                f.Name     = "Hai Bai Count!";
                f.Value    = statisticsManager.GetHaiBaiCount();
                f.IsInline = false;
            });

            await Context.Channel.SendMessageAsync("", false, builder.Build());
        }