add /role_income edit

This commit is contained in:
stjet
2026-01-13 01:56:40 +00:00
parent e9c64d494f
commit 9a9a728949
4 changed files with 46 additions and 4 deletions

View File

@@ -343,6 +343,31 @@ const commands = [
},
],
},
{
type: 1,
name: "edit",
description: "Edit a role income's income or item income (admin only)",
options: [
{
type: 8,
name: "role",
description: "Role to give role income to",
required: true,
},
{
type: 4,
name: "income",
description: "Amount to give per user per payout",
required: true,
},
{
type: 3,
name: "items",
description: "Items to give along with role income. In format name,quantity|name,quantity",
required: false,
},
],
},
{
type: 1,
name: "delete",