public async Task InfoAsync(CommandContext ctx, [Description("desc-emoji-info")] DiscordEmoji emoji) { try { DiscordGuildEmoji gemoji = await ctx.Guild.GetEmojiAsync(emoji.Id); var emb = new LocalizedEmbedBuilder(this.Localization, ctx.Guild.Id); emb.WithColor(this.ModuleColor); emb.WithLocalizedTitle("str-emoji-details"); emb.WithDescription($"{gemoji.GetDiscordName()} ({gemoji.Id})"); emb.WithThumbnail(gemoji.Url); emb.AddLocalizedTitleField("str-created-by", gemoji.User?.ToDiscriminatorString(), inline: true); emb.AddLocalizedTitleField("str-animated", gemoji.IsAnimated, inline: true); emb.AddLocalizedTitleField("str-managed", gemoji.IsManaged, inline: true); emb.AddLocalizedTitleField("str-url", gemoji.Url); emb.AddLocalizedTimestampField("str-created-at", gemoji.CreationTimestamp); await ctx.RespondAsync(embed : emb.Build()); } catch (NotFoundException) { throw new CommandFailedException(ctx, "cmd-err-emoji-404"); } }