Beispiel #1
0
        public async Task Portrait(CommandMessage message, IGuildUser user)
        {
            CharacterInfo character = await this.GetCharacterInfo(user);

            string file = await CharacterPortrait.Draw(character);

            await message.Channel.SendFileAsync(file);
        }
Beispiel #2
0
        public async Task Portrait(CommandMessage message, string serverName, string characterFirstName, string characterLastName)
        {
            CharacterInfo character = await this.GetCharacterInfo(this.GetCharacterFullName(characterFirstName, characterLastName), serverName);

            string file = await CharacterPortrait.Draw(character);
        }