Skip to content

$createTestEntitlement

$createTestEntitlement will create a new test entitlement.

Usage

$createTestEntitlement[skuID;id?;type?;returnID?]

Parameters

FieldTypeDescriptionRequired
skuIDnumberYour generated SKU ID.true
id?numberUser or guild ID.false
type?stringEntitlement type.
1. user (default)
2. guild
false
returnID?booleanReturn message ID?false

Example(s)

This will create a test entitlement with the provided skuID:

1
client.command({
2
name: "createTestEntitlement",
3
code: `
4
$createTestEntitlement[123456789;$userID;user;false]
5
$comment[Example value of skuID]
6
`
7
});