Esempio n. 1
0
        public async Task ViewOther(CommandContext ctx, [RemainingText] string Name)
        {
            var Chr = await ManageCharacter.GetChrByName(Name);

            if (Chr == null)
            {
                await ctx.RespondAsync("No character by " + Name);

                return;
            }
            var Own = await ManageCharacter.GetOwnerByEntry(Chr.Entry);

            var Embed = new DiscordEmbedBuilder();

            Embed = Embed.WithDescription($"[`Card`] → [__{Chr.Class} - {Chr.Name} - {Chr.Race}__]");
            Embed = Embed.WithImageUrl(Chr.Image);
            Embed = Embed.WithFooter(Chr.Desc);
            await ctx.RespondAsync(embed : Embed);
        }