$isConsumed
$isConsumed
will check if the specified consumable has been consumed.
Usage
$isConsumed[consumableId;userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
consumableId | number | Your consumable ID. | true |
userID? | number | The user ID you want to check. | false |
Example(s)
This will check if the provided consumableId
has been marked as used for this user:
1client.command({2 name: "isConsumed",3 code: `4 $isConsumed[12345678;$authorID]5 $comment[Example value of consumableId]6 `7});