$hasPremium
$hasPremium
will check if the provided user or guild is subscribed to premium.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
skuID | number | Your generated SKU ID. | true |
id? | number | User or guild ID. | false |
type? | string | Entitlement type. 1. user (default) 2. guild | false |
Example(s)
This will check if the provided user is subscribed to premium.