entities/Plat
Classes
Section titled “Classes”Defined in: entities/Plat.ts:12
Platinum currency transaction ledger (maps to public.plat).
Records individual plat deposits and withdrawals for guild banking.
Positive amounts are deposits; negative amounts are withdrawals.
Managed via the /plat command by officers.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Plat():
Plat
Returns
Section titled “Returns”Properties
Section titled “Properties”Amount
Section titled “Amount”Amount:
number
Defined in: entities/Plat.ts:22
Transaction amount in platinum (positive = deposit, negative = withdrawal).
Description
Section titled “Description”Description:
string|null
Defined in: entities/Plat.ts:34
Human-readable description of the transaction purpose.
DiscordId
Section titled “DiscordId”DiscordId:
string
Defined in: entities/Plat.ts:18
Discord snowflake ID of the member involved in this transaction.
Id:
number
Defined in: entities/Plat.ts:14
TransactionTime
Section titled “TransactionTime”TransactionTime:
Date|null
Defined in: entities/Plat.ts:30
When the transaction occurred (defaults to current timestamp).