Skip to content

TempInventory

Type: Bot

A list of items in the temp inventory.

Type: TempInventoryItem[]

Whether an item meets the quantity in the temp inventory.

ParameterTypeOptionalDefaultDescription
itemKeystring | numberThe name or ID of the item.
quantitynumber1The quantity of the item.

Returns: boolean

Gets an item from the temp inventory.

ParameterTypeDescription
itemKeystring | numberThe name or ID of the item.

Returns: TempInventoryItem | null