alarm-monitoring/commands.json
Christopher Cookman dcb668ddc3
Update
- Allow linking two account numbers together, as long as they're both owned by the person running the command
2024-08-18 01:17:41 -06:00

118 lines
2.4 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"
},
{
"name": "link",
"description": "Link two account numbers together so someone else can get calls for your account number too",
"type": 1,
"options": [
{
"name": "from",
"description": "Account number to receive alerts from",
"type": 3,
"required": true
},
{
"name": "to",
"description": "Account number to forward alerts to",
"type": 3,
"required": true
}
]
},
{
"name": "unlink",
"description": "Unlink two account numbers",
"type": 1,
"options": [
{
"name": "from",
"description": "Account number to receive alerts from",
"type": 3,
"required": true
},
{
"name": "to",
"description": "Account number to forward alerts to",
"type": 3,
"required": true
}
]
},
{
"name": "links",
"description": "Get a list of linked accounts tied to your discord account"
}
]