async def METHOD_NAME(
    account: HoyoAccount, code: str, user: discord.User
) -> discord.Embed:
    """
    Redeems a single code for a given user account.
    Args:
        account (HoyoAccount): The user account to redeem the code for.
        code (str): The code to redeem.
        user (discord.User): The Discord user to notify.
    Returns:
        discord.Embed: The embed to send to the user.
    """
    client = await account.client
    lang = (await account.settings).lang or "en-US"
    try:
        await client.redeem_code(code, account.uid, game=genshin.Game.GENSHIN)
    except Exception as e:  # skipcq: PYL-W0703
        embed = get_error_handle_embed(user, e, lang)
    else:
        embed = DefaultEmbed(
            text_map.get(109, lang),
        )
    if embed.description is None:
        embed.description = ""
    embed.description += f"\n\n{text_map.get(108, lang)}: **{code}**"
    embed.set_footer(text=text_map.get(126, lang))
    return embed