[AB-308] adding templates required for booster assignable role places

This commit is contained in:
Sheldan
2021-07-18 18:54:20 +02:00
parent 9d6074e25c
commit 3682ca980e
9 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
{
<#include "assignable_place_color">,
"description": "<#assign channelMention><#if channelDisplay??>${channelDisplay.channelMention}<#else><@safe_include "assignable_roles_config_embed_no_channel_found"/></#if></#assign><@safe_include "assignable_roles_config_embed_place_description"/>
"description": "<#assign channelMention><#if channelDisplay??>${channelDisplay.channelMention}<#else><@safe_include "assignable_roles_config_embed_no_channel_found"/></#if></#assign>
<#assign typeDescription><@safe_include "assignable_role_place_type_description_${type}"/></#assign>
<@safe_include "assignable_roles_config_embed_place_description"/>
<@safe_include "assignable_roles_config_embed_role_header"/>:
<#list roles as role><#assign role=role/>
<#assign emoteMention><#if role.emoteMarkDown??>${role.emoteMarkDown}<#else>No emote</#if></#assign>

View File

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

View File

@@ -1,2 +1,3 @@
Creates an assignable role place with the given name used as key to identify it. The provided description will be displayed when it is posted.
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
A `booster` assignable role place only allows boosting members to receive roles and automatically removes the roles if the member stops boosting.

View File

@@ -0,0 +1 @@
Defines the type of this assignable role place. Possible values `default` and `booster`.

View File

@@ -1,2 +1,3 @@
Configuration for assignable roles for assignable role place `${placeName}`, shown with text: `${placeText}` to be posted in ${channelMention}.
It is ${uniqueRoles?string('not possible', 'possible')} to have multiple roles at once.
${typeDescription}

View File

@@ -0,0 +1 @@
You have not boosted - this is a booster only assignable role place.

View File

@@ -1 +1 @@
Assignable role place ${placeName} does not exist.
Assignable role place ${placeName} already exist.