• Checks if a string could be referring to a member.

    Parameters

    • text: string

      Text to check.

    • member: GuildMember

      Member to check.

    • caseSensitive: boolean = false

      Makes checking by name case sensitive.

    • wholeWord: boolean = false

      Makes checking by name match full word only.

    Returns boolean