Esempio n. 1
0
        public static EmbedBuilder GetHelpInfoOutput()
        {
            var embedBuilder = EmbedBuilderHelpers.BaseEmbedBuilderSuccess();

            embedBuilder.Title       = "The Helper";
            embedBuilder.Description = $"This bot is aimed at providing utility to individuals who are playing 2nd Edition D&D!";

            embedBuilder.AddField("Spells:", "It's possible to look up details on second edition spells. \r Use command **dnd!spells <spellname>**");
            embedBuilder.AddField("Dice Rolling:", "Let's roll some dice! \r Example: **dnd!roll 5d4**");

            return(embedBuilder);
        }
Esempio n. 2
0
        public static EmbedBuilder SpellOutput(SpellModel spell)
        {
            var embedBuilder = EmbedBuilderHelpers.BaseEmbedBuilderSuccess();

            embedBuilder.Description = spell.Description;
            embedBuilder.Title       = spell.Name;

            embedBuilder.AddField(nameof(spell.Level), spell.Level, true);
            embedBuilder.AddField(nameof(spell.Range), spell.Range, true);
            embedBuilder.AddField(nameof(spell.Save), spell.Save, true);
            embedBuilder.AddField(nameof(spell.Duration), spell.Duration, true);
            embedBuilder.AddField(nameof(spell.Components), spell.Components, true);
            embedBuilder.AddField(nameof(spell.AoE), spell.AoE, true);
            embedBuilder.AddField(nameof(spell.CastingTime), spell.CastingTime, true);
            embedBuilder.AddField(nameof(spell.Spheres), spell.Spheres, true);
            embedBuilder.AddField(nameof(spell.Class), spell.Class, true);

            return(embedBuilder);
        }