async def METHOD_NAME(token, userid, message):
    intents = DiscordIntents.default()
    intents.members = True
    client = DiscordClient(intents=intents)
    @client.event
    async def on_ready(userid=userid, message=message):
        user_found = False
        for user in client.get_all_members():
            if not user.bot and (
                (user.discriminator == "0" and user.name == userid)
                or (f"{user.name}#{user.discriminator}" == userid)
            ):
                embed = DiscordEmbed()
                embed.description = message
                await user.send(embed=embed)
                user_found = True
                break
        if not user_found:
            logger.info("User %s not found by Discord bot" % userid)
        await client.close()
    await client.start(token)