Skip to content
Monetization hasAllEntitlements

$hasAllEntitlements — Whether the author owns an active entitlement for every one of these SKUs.

Whether the author owns an active entitlement for every one of these SKUs.

Syntax

$hasAllEntitlements[sku]

Parameters

  • sku (String, required) — SKU ID (repeat for several)

Return Value

  • Boolean.

Usage

$hasAllEntitlements[sku] → result

Example

$sendMessage[$hasAllEntitlements[sku]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.