[AB-xxx] adding input value to choose and 8ball command

changing structure of choose
This commit is contained in:
Sheldan
2025-04-26 13:09:09 +02:00
parent 0696cae350
commit 812e41448e
4 changed files with 5 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
{ {
"additionalMessage": "<@safe_include "eightBall_response_${chosenKey}"/>" "additionalMessage": "<@safe_include "eightball_response_prefix"/> <@safe_include "eightBall_response_${chosenKey}"/>"
} }

View File

@@ -1,9 +1,4 @@
{ {
"embeds": [ <#assign choice=chosenValue>
{ "additionalMessage": "<@safe_include "choose_response_description"/>"
<#include "abstracto_color">,
<#assign choice=chosenValue>
"description": "<@safe_include "choose_response_description"/>"
}
]
} }

View File

@@ -0,0 +1 @@
The magic 8-ball says to `${input?json_string}`:

View File

@@ -1 +1 @@
I have chosen: ${choice}. From `${choices?join("`, `")?json_string}` I have chosen: `${choice?json_string}`.