Skip to content

commands/bank/expense

/expense command — records a guild bank expense (platinum withdrawal).

Requires ManageGuild permission. Creates a Plat record with a negative amount. Displays a red embed confirming the transaction.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/bank/expense.ts:15


const permissions: "ManageGuild" = 'ManageGuild'

Defined in: commands/bank/expense.ts:13

execute(interaction): Promise<void>

Defined in: commands/bank/expense.ts:29

ChatInputCommandInteraction

Promise<void>