generated from nhcarrigan/template
a36d706eed
## Summary - **feat**: Add `/remind` owner-only command — sends a meeting waiting room notification to a specified user in `#general` - **fix**: Prevent duplicate DM notifications when a message matches both `respondToMention` and `notifyNameMention` patterns - **feat**: Port `/alt-text` and `/query` commands from Cordelia — owner-only, AI-powered, using Amari's personality - **feat**: Add `/research` command — owner-only, web-search-backed query returning results as a markdown file attachment - **fix**: Suppress non-critical RetroAchievements fetch errors (job retries every 10 minutes) Closes #19, #20, #21, #22 Also resolves #2 (unhandled HTTP rejections from RA API) Reviewed-on: #23 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>
123 lines
2.9 KiB
JSON
123 lines
2.9 KiB
JSON
[
|
|
{
|
|
"name": "alt-text",
|
|
"type": 1,
|
|
"description": "Generate descriptive alt-text for an image.",
|
|
"options": [
|
|
{
|
|
"name": "image",
|
|
"description": "The image to generate alt-text for.",
|
|
"type": 11,
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "remind",
|
|
"type": 1,
|
|
"description": "Sends a meeting reminder notification to the specified user.",
|
|
"options": [
|
|
{
|
|
"name": "user",
|
|
"description": "The user to send the meeting reminder to.",
|
|
"type": 6,
|
|
"required": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "research",
|
|
"type": 1,
|
|
"description": "Research a topic using web search.",
|
|
"options": [
|
|
{
|
|
"name": "prompt",
|
|
"description": "The topic or question to research.",
|
|
"type": 3,
|
|
"required": true,
|
|
"max_length": 2000
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "query",
|
|
"type": 1,
|
|
"description": "Ask Amari a question.",
|
|
"options": [
|
|
{
|
|
"name": "prompt",
|
|
"description": "The question you would like to ask.",
|
|
"type": 3,
|
|
"required": true,
|
|
"max_length": 2000
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Forward to Naomi",
|
|
"type": 3
|
|
}
|
|
]
|