Example #1
0
                public async Task addEquipment([Remainder, Summary("Equipment name")] string equipment)
                {
                    if (characters == null)
                    {
                        characters = new List <CharacterNode>();
                    }
                    CharacterNode old = findCharacter(Context.User);

                    if (old == null)
                    {
                        await Context.User.SendMessageAsync("You do not have an active character.");

                        return;
                    }
                    if (old.getWeaponArmorProf().Contains(equipment))
                    {
                        old.getWeaponArmorProf().Remove(equipment);
                    }
                    await Context.User.SendMessageAsync("I added the proficiency for you.");
                }