Skip to content
Monetization hasAnyEntitlement

$hasAnyEntitlement — Whether the author owns an active entitlement for at least one of these SKUs.

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

Syntax

$hasAnyEntitlement[sku]

Parameters

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

Return Value

  • Boolean.

Usage

$hasAnyEntitlement[sku] → result

Example

$sendMessage[$hasAnyEntitlement[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.