mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-01 07:27:32 +00:00
[AB-xxx] adding templates related to key giveaways
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "addGiveawayKey_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "createKeyGiveaway_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "removeGiveawayKey_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<@safe_include "showGiveawayKeys_no_keys_found_text"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<#list row as key><#assign key=key><@safe_include "showGiveawayKeys_key_entry"/>\n</#list>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
<#include "paginator_buttons">
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
<#assign exitOnly=innerModel.keys?size lt 6/>
|
||||
"embedConfigs": [
|
||||
<#assign chunks=innerModel.keys?chunk(5)>
|
||||
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "showGiveawayKeys_response_entry"><#sep>,</#list>
|
||||
],
|
||||
"timeoutSeconds": 120,
|
||||
"restrictUser": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "giveaway_key_not_found_exception_message">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "giveaway_not_possible_exception_message">
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
<#assign title=title?json_string>
|
||||
"title": "<@safe_include "giveaway_winner_modmail_notification_title"/>"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
<#if description?has_content><#assign description=description?json_string></#if>
|
||||
<#if benefactor?has_content><#assign benefactor=benefactor.memberMention/></#if>
|
||||
<#assign key=key/>
|
||||
"description": "<@safe_include "giveaway_winner_modmail_notification_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Key has been added
|
||||
@@ -0,0 +1 @@
|
||||
Adds a key to the list of giveaway keys
|
||||
@@ -0,0 +1 @@
|
||||
Adds a key identified by name and key (and optional description) to the list of keys to be used in the future
|
||||
@@ -0,0 +1 @@
|
||||
The user sponsoring this key
|
||||
@@ -0,0 +1 @@
|
||||
A description for the key. Will be displayed in the giveaway
|
||||
@@ -0,0 +1 @@
|
||||
The key value
|
||||
@@ -0,0 +1 @@
|
||||
The name of the item associated with the key
|
||||
@@ -0,0 +1 @@
|
||||
Giveaway using a key has been created.
|
||||
@@ -0,0 +1 @@
|
||||
Create a giveaway based on a key
|
||||
@@ -0,0 +1 @@
|
||||
Creates a giveaway using a stored key.
|
||||
@@ -0,0 +1 @@
|
||||
How long the giveaway should be.
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the key to use
|
||||
@@ -0,0 +1 @@
|
||||
Removes a key from the storage
|
||||
@@ -0,0 +1 @@
|
||||
Removes a key from the storage
|
||||
@@ -0,0 +1 @@
|
||||
The ID of the key to remove
|
||||
@@ -0,0 +1 @@
|
||||
Key has been removed.
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current giveaway keys
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current giveaway keys. With an option to also show the already used ones
|
||||
@@ -0,0 +1 @@
|
||||
No keys found
|
||||
@@ -0,0 +1 @@
|
||||
Whether to show all keys
|
||||
@@ -0,0 +1 @@
|
||||
${key.used?string('❌', '✅')} ${key.id} `${key.name}`: `${key.key}` <#if key.description?has_content>${key.description} </#if><#if key.creator?has_content>(created by ${key.creator.memberMention}) </#if><#if key.benefactor?has_content>Donated by: ${key.benefactor.memberMention} </#if><#if key.used && key.winner?has_content>Won by: ${key.winner.memberMention}</#if>
|
||||
@@ -0,0 +1 @@
|
||||
Giveaway key not found.
|
||||
@@ -0,0 +1 @@
|
||||
Not possible to create a giveaway.
|
||||
@@ -0,0 +1,5 @@
|
||||
The key is `${key}`.
|
||||
Please answer to this message in order to confirm that you received the key.
|
||||
<#if description?has_content>More details: ${description}. </#if>
|
||||
|
||||
<#if benefactor?has_content>It was provided by: ${benefactor}</#if>
|
||||
@@ -0,0 +1 @@
|
||||
🎉 Congrats! You won ${title}. 🎉
|
||||
Reference in New Issue
Block a user