async def METHOD_NAME(self, ctx: commands.Context, *, category_query: str | None = None) -> None:
    """Returns embed with emoji category and info given by the user."""
    emoji_dict = defaultdict(list)
    if not ctx.guild.emojis:
        await ctx.send("No emojis found.")
        return
    log.trace(f"Emoji Category {'' if category_query else 'not '}provided by the user.")
    for emoji in ctx.guild.emojis:
        emoji_category = emoji.name.split("_")[0]
        if category_query is not None and emoji_category not in category_query:
            continue
        emoji_dict[emoji_category].append(emoji)
    if not emoji_dict:
        log.trace("Invalid name provided by the user")
        embed, msg = self.generate_invalid_embed(ctx.guild.emojis)
    else:
        embed, msg = self.embed_builder(emoji_dict)
    await LinePaginator.paginate(lines=msg, ctx=ctx, embed=embed)