generated from nhcarrigan/template
94247c2a68
- Replace forwardToOwner embed approach with getComponentsForNaomi + Components V2 - Extract InteractionCreate handler to src/events/handleInteractionCreate.ts - Replace deployGlobal.ts script with static commands.json payload - Fix minor error handling in createTask and onboardMentee
88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
[
|
|
{
|
|
"name": "create-issue",
|
|
"type": 1,
|
|
"description": "Creates a Gitea issue with an AI-generated body.",
|
|
"options": [
|
|
{
|
|
"name": "owner",
|
|
"description": "The owner of the repository.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "repo",
|
|
"description": "The name of the repository.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "title",
|
|
"description": "The issue title.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "description",
|
|
"description": "Optional additional context for the issue body.",
|
|
"type": 3,
|
|
"required": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create-task",
|
|
"type": 1,
|
|
"description": "Creates a Leantime task with an AI-generated description.",
|
|
"options": [
|
|
{
|
|
"name": "title",
|
|
"description": "The task title.",
|
|
"type": 3,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "description",
|
|
"description": "Optional additional context for the task description.",
|
|
"type": 3,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"description": "The task priority level (1-5, default 3).",
|
|
"type": 4,
|
|
"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
|
|
}
|
|
]
|