mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-10 19:38:19 +00:00
[AB-xxx] adding input value to choose and 8ball command
changing structure of choose
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "eightBall_response_${chosenKey}"/>"
|
||||
"additionalMessage": "<@safe_include "eightball_response_prefix"/> <@safe_include "eightBall_response_${chosenKey}"/>"
|
||||
}
|
||||
@@ -1,9 +1,4 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign choice=chosenValue>
|
||||
"description": "<@safe_include "choose_response_description"/>"
|
||||
}
|
||||
]
|
||||
<#assign choice=chosenValue>
|
||||
"additionalMessage": "<@safe_include "choose_response_description"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
The magic 8-ball says to `${input?json_string}`:
|
||||
@@ -1 +1 @@
|
||||
I have chosen: ${choice}.
|
||||
From `${choices?join("`, `")?json_string}` I have chosen: `${choice?json_string}`.
|
||||
Reference in New Issue
Block a user