generated from nhcarrigan/template
0dba9a1af9
Removes /create-task and /create-issue slash commands and introduces /create-ticket, which routes to LeanTime, Asana, Gitea, or GitHub based on a platform choice argument. The user provides only a description; the AI generates both the title and fleshed-out body.
69 lines
1.7 KiB
JSON
69 lines
1.7 KiB
JSON
[
|
|
{
|
|
"name": "create-ticket",
|
|
"type": 1,
|
|
"description": "Creates a ticket on the chosen platform with an AI-generated title and description.",
|
|
"options": [
|
|
{
|
|
"name": "platform",
|
|
"description": "The platform to create the ticket on.",
|
|
"type": 3,
|
|
"required": true,
|
|
"choices": [
|
|
{ "name": "LeanTime", "value": "leantime" },
|
|
{ "name": "Asana", "value": "asana" },
|
|
{ "name": "Gitea", "value": "gitea" },
|
|
{ "name": "GitHub", "value": "github" }
|
|
]
|
|
},
|
|
{
|
|
"name": "description",
|
|
"description": "Describe what you need. The AI will generate a title and full description.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "owner",
|
|
"description": "The repository owner (required for Gitea/GitHub).",
|
|
"type": 3,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "repo",
|
|
"description": "The repository name (required for Gitea/GitHub).",
|
|
"type": 3,
|
|
"required": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "onboard-mentee",
|
|
"type": 1,
|
|
"description": "Onboards a new mentee by setting up their GitHub repository.",
|
|
"options": [
|
|
{
|
|
"name": "mentee_name",
|
|
"description": "The mentee's full name.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "github_username",
|
|
"description": "The mentee's GitHub username.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "mentee",
|
|
"description": "The mentee's Discord account.",
|
|
"type": 6,
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Forward to Naomi",
|
|
"type": 3
|
|
}
|
|
]
|