cactus-coin/commands.json

82 lines
1.5 KiB
JSON

[
{
"name": "modify",
"description": "Modify a users points",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to modify",
"type": 6,
"required": true
},
{
"name": "amount",
"description": "The amount to modify (can be negative)",
"type": 10,
"required": true
},
{
"name": "override",
"description": "Override their coins with the amount given instead of adding to it",
"type": 5,
"required": false
}
]
},
{
"name": "give-all",
"description": "Give all users (who already have points) points",
"type": 1,
"options": [
{
"name": "amount",
"description": "The amount to give (or take if negative)",
"type": 10,
"required": true
}
]
},
{
"name": "leaderboard",
"description": "Cactus points leaderboard",
"type": 1
},
{
"name": "transfer",
"description": "Transfer points to another user (2:1 ratio)",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to transfer to",
"type": 6,
"required": true
},
{
"name": "amount",
"description": "The amount to transfer",
"type": 10,
"required": true
}
]
},
{
"name": "points",
"description": "Check the points of yourself or another user",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to check",
"type": 6,
"required": false
}
]
},
{
"name": "ledger",
"description": "Check the balance of every user",
"type": 1
}
]