[AB-68] adding template for invite filter

This commit is contained in:
Sheldan
2021-01-24 22:39:30 +01:00
parent 7bb592cd2a
commit 13d91deeb7
26 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"title": {
"title": "<@safe_include "tracked_invite_links_embed_title"/>"
},
<#include "success_color">,
"description": "<#list inviteLinks as link><#assign link=link/>
<#assign linkText>${link.code}</#assign>
<#assign linkUses>${link.uses}</#assign>
<@safe_include "tracked_invite_links_link_display"/><#else><@safe_include "tracked_invite_links_no_links"/>
</#list>"
}

View File

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

View File

@@ -0,0 +1 @@
"description": "<@safe_include "invite_link_not_allowed_exception"/>"

View File

@@ -0,0 +1 @@
"description": "<@safe_include "invalid_invite_link_exception"/>"

View File

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

View File

@@ -0,0 +1,17 @@
{
<#include "member_author">
<@member_author member=author/>,
<#assign authorMention=author.asMention>
"description": "<@safe_include "invite_link_deleted_embed_description"/>",
<#include "abstracto_color"/>,
"fields": [
{
"name": "<@safe_include "invite_link_deleted_invite_field_header"/>",
"value": "<#list invites as invite>${invite}<#sep>,</#list>"
},
{
"name": "<@safe_include "invite_link_deleted_message_link_title"/>",
"value": "[${channel.name?js_string}](${message.jumpUrl})"
}
]
}

View File

@@ -0,0 +1 @@
Allows one invite to be used within the server

View File

@@ -0,0 +1 @@
This command adds the given invite to the list of allowed invites on the server. If this command is executed - the message will immediately be deleted, but the configuration will be applied.

View File

@@ -0,0 +1 @@
The invite to allow - this can either be the full invite URL or just the part behind the slash.

View File

@@ -0,0 +1 @@
Removes one invite from the allowed invites

View File

@@ -0,0 +1 @@
Removes the given invite from the list of allowed invites to be used.

View File

@@ -0,0 +1 @@
The invite to be removed from the list of allowed invites - this can either be the full invite URL or just the part behind the slash.

View File

@@ -0,0 +1 @@
This command allows to remove the stored occurrences of individual or all filtered invites in this server.

View File

@@ -0,0 +1 @@
The invite from which the uses should be removed for - if not provided, all uses from all filtered invites of this server will be removed

View File

@@ -0,0 +1 @@
This command can be used to display the current top filtered invites - the ordering is based on how many times an individual invite has been removed. Per default 5 invite links are shown, but this can be changed via the parameter.

View File

@@ -0,0 +1 @@
Number to define how many filtered invites should be displayed

View File

@@ -0,0 +1 @@
Invite link by ${authorMention} has been deleted.