Cotal TypeScript packages
    Preparing search index...

    Function mentionsName

    • Whether a message's mentions name name: the whole name, ignoring case. Advisory only: the payload's list is forgeable, so it changes visibility, never authority.

      Parameters

      • mentions: readonly string[] | undefined
      • name: string

      Returns boolean