• Resolves a user from a string, such as an ID, a name, or a mention.

    Parameters

    • text: string

      Text to resolve.

    • user: User
    • caseSensitive: boolean = false

      Makes finding by name case sensitive.

    • wholeWord: boolean = false

      Makes finding by name match full word only.

    Returns boolean