Exemplo n.º 1
0
            public async Task add([Remainder, Summary("Spell name")] string spellName)
            {
                CharacterNode character = findCharacter(Context.User);

                if (character == null)
                {
                    await Context.User.SendMessageAsync("You have no active character.");

                    return;
                }
                character.addSpell(spellName);
                await Context.User.SendMessageAsync("The spell was added to your spell list.");
            }