async def METHOD_NAME(self, users: List[HoyoAccount], codes: List[str]) -> None:
    """Process the given codes for the given users.
    This function attempts to redeem the given codes for each user in the list of users.
    If a code is successfully redeemed, an embed is created and sent to the user via Discord.
    If an error occurs during the process, the error is logged and the exception is captured by Sentry.
    Args:
        users: A list of HoyoAccount objects representing the users to process.
        codes: A list of strings representing the codes to redeem.
    Returns:
        None
    Raises:
        None
    """
    for user in users:
        try:
            dc_user = await get_dc_user(self.bot, user.user_id)
            embeds = await self._redeem_codes(user, codes, dc_user)
        except Exception as e:  # skipcq: PYL-W0703
            log.exception(f"[AutoRedeem] {e}")
            sentry_sdk.capture_exception(e)
        else:
            await self.notify_user(dc_user, embeds)
            self._success += 1