feat: port alt-text and query commands from Cordelia

Adds owner-only /alt-text and /query slash commands, migrating
Cordelia's AI functionality into Amari with updated style and auth.
This commit is contained in:
2026-03-12 23:21:14 -07:00
parent 343d712e33
commit 30d4c7b09e
4 changed files with 247 additions and 0 deletions
+27
View File
@@ -1,4 +1,17 @@
[
{
"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,
@@ -74,6 +87,20 @@
}
]
},
{
"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