• Parse a user from a string. This string can be a Discord mention, a user ID, a user tag, or a user name.

    Parameters

    • userInput: string

      The string to parse the user from.

    • client: Client<boolean>

      The discord.js Client.

    Returns Promise<null | User>

    The parsed user.