Monetization
skuName
$skuName
Returns the name of a SKU of the bot application. Bot Creator extension (not in the official BDFD wiki). Purchases happen at Discord: create the SKU in the Discord developer portal (Monetization). A right is active when it is not deleted, already started and not ended. Without a user or server argument, the author of the run is checked.
Syntax
$skuName[skuID]
Parameters
| Parameter | Description |
|---|---|
skuID |
Required. The SKU ID. |
Return Value
- Type: String
- The SKU name, empty when the SKU does not exist.
Examples
$skuName[1234567890123456789]
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.