alarm-monitoring/commands.json
Christopher Cookman 266cb22ce5
Update
- Add /cancel command to cancel an unverified account
2024-08-16 14:47:58 -06:00

76 lines
1.5 KiB
JSON

[
{
"name": "register",
"description": "Register for a new account number",
"type": 1,
"options": [
{
"name": "phone_number",
"description": "The 10 digit US phone number to call when the system is triggered",
"type": 3,
"required": true
}
]
},
{
"name": "verify",
"description": "Verify the phone number on a new account",
"type": 1,
"options": [
{
"name": "verification_code",
"description": "The 6 digit verification code sent to the phone number",
"type": 3,
"required": true
}
]
},
{
"name": "update",
"description": "Update the phone number on an account",
"type": 1,
"options": [
{
"name": "account_number",
"description": "The account number to update",
"type": 3,
"required": true,
"autocomplete": true
},
{
"name": "phone_number",
"description": "The 10 digit US phone number to call when the system is triggered",
"type": 3,
"required": true
}
]
},
{
"name": "deactivate",
"description": "Deactivate an account",
"type": 1,
"options": [
{
"name": "account_number",
"description": "The account number to deactivate",
"type": 3,
"required": true,
"autocomplete": true
}
]
},
{
"name": "resend",
"description": "Resend the verification code",
"type": 1
},
{
"name": "list",
"description": "List all active accounts",
"type": 1
},
{
"name": "cancel",
"description": "Cancel verification and account number creation if you have one in-progress"
}
]