[AB-63] adding templates for pressF command

This commit is contained in:
Sheldan
2023-12-11 01:21:49 +01:00
parent 48ad43a1b0
commit f778fe8804
15 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
<#assign user=memberDisplay.memberMention>
"additionalMessage": "<@safe_include "pressF_join_text"/>"
}

View File

@@ -0,0 +1,15 @@
{
<#assign text=text?json_string>
"additionalMessage": "<@safe_include "pressF_response_text"/>",
"buttons": [
{
"emoteMarkdown": "<@safe_include "pressF_response_press_button_emote"/>",
"label": "<@safe_include "pressF_response_press_button_label"/>",
"id": "${pressFComponentId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

@@ -0,0 +1,5 @@
{
<#assign userCount=userCount>
<#assign text=text?json_string>
"additionalMessage": "<@safe_include "pressF_result_text"/>"
}

View File

@@ -0,0 +1 @@
<#include "already_pressed_f_exception_text">

View File

@@ -0,0 +1 @@
Enables people to press F for something

View File

@@ -0,0 +1,2 @@
This command creates a message at which people can press F, causing a message on their own.
After the optional timeframe is over, the sum of people who pressed F is shown.

View File

@@ -0,0 +1 @@
The amount of time it should be possible to press F

View File

@@ -0,0 +1 @@
${user} has paid their respects.

View File

@@ -0,0 +1 @@
Please pay respects for `${text}`.

View File

@@ -0,0 +1 @@
${userCount} people have paid their respects to **${text}**.

View File

@@ -0,0 +1 @@
Amount of seconds for the pressF command to evaluate. Default: ${defaultValue}

View File

@@ -0,0 +1 @@
You already paid your respects.