mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-08 18:07:37 +00:00
[AB-150] adding templates for repost check
fixing some exception messages
This commit is contained in:
@@ -9,12 +9,11 @@
|
||||
"fields": [
|
||||
<#list groups as group>
|
||||
{
|
||||
"name": "${group.name?js_string}",
|
||||
"name": "${group.name?js_string} (<@safe_include "channel_group_type_${group.typeKey}_name"/>)",
|
||||
"value": "
|
||||
<#list group.channels as channel>${channel.discordChannel.asMention?js_string}<#sep>,</#list>
|
||||
<#list group.channels as channel>${channel.discordChannel.asMention?js_string}<#sep>,<#else> <@safe_include "listChannelGroups_no_channels"/></#list>
|
||||
"
|
||||
}<#sep>,
|
||||
<#else>
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#assign available>${model.availableGroupTypeKeys?join(", ")}</#assign><#include "channel_group_type_not_found_exception_text">
|
||||
@@ -0,0 +1,2 @@
|
||||
<#assign channelId=model.channelId>
|
||||
<#include "channel_not_in_guild_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "channel_group_type_not_found_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "channel_not_in_guild_exception"/>"
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
<#macro userDisplay user>
|
||||
${user.rank} | <@member_user_name member=user.member/> | ${user.count}
|
||||
</#macro>
|
||||
<#include "member_author">
|
||||
<#include "success_color">,
|
||||
"description": "
|
||||
<@safe_include "repostLeaderboard_rank_column"/> | <@safe_include "repostLeaderboard_name_column"/> | <@safe_include "repostLeaderboard_count_column"/>
|
||||
<#list entries as user>
|
||||
<@userDisplay user=user />
|
||||
<#else>
|
||||
<@safe_include "repostLeaderboard_no_reposts"/>
|
||||
</#list>
|
||||
|
||||
<@safe_include "repostLeaderboard_caller_marker"/>:
|
||||
<#if userExecuting.count gt 0>
|
||||
<@userDisplay user=userExecuting />
|
||||
<#else>
|
||||
<@safe_include "repostLeaderboard_no_reposts"/>
|
||||
</#if>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<#include "success_color">,
|
||||
"description": "
|
||||
<#list repostCheckChannelGroups as group>
|
||||
<@safe_include "showRepostCheckChannels_response_embed_description"/>: ${group.channelGroup.channelGroup.groupName}(<#list group.channels as channel>${channel.channelRepr}<#sep>, <#else><@safe_include "showRepostCheckChannels_response_embed_no_channels"/></#list>)
|
||||
|
||||
<#else><@safe_include "showRepostCheckChannels_response_embed_no_channel_groups"/></#list>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "repost_check_check_channel_not_found_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
<#include "repost_check_check_channel_not_found_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
No channels
|
||||
@@ -1 +1 @@
|
||||
Channel group ${name} does not exist. The available channel groups are ${available}.
|
||||
Channel group ${name} does not exist or has the wrong group type. The available channel groups are ${available}.
|
||||
@@ -0,0 +1 @@
|
||||
Channel group type not available. The available channel group types are: ${available}.
|
||||
@@ -1 +1 @@
|
||||
Channel ${channelId} not found in the database.
|
||||
Channel ${channelId?c} not found in the database.
|
||||
@@ -0,0 +1 @@
|
||||
Channel ${channelId?c} not found in the guild.
|
||||
@@ -0,0 +1 @@
|
||||
Disables repost checking for a channel group
|
||||
@@ -0,0 +1,2 @@
|
||||
Disables the repost checking for the given channel group.
|
||||
This will take effect immediately, but will not impact the existing images stored.
|
||||
@@ -0,0 +1 @@
|
||||
The channel group to disable repost checking for
|
||||
@@ -0,0 +1 @@
|
||||
Enables the repost check for the given channel group
|
||||
@@ -0,0 +1 @@
|
||||
This command can be used to enable the repost check for a given channel group. This takes effect immediately.
|
||||
@@ -0,0 +1 @@
|
||||
The channel group to enable repost checking for
|
||||
@@ -0,0 +1 @@
|
||||
Removes stored image hashes from the database
|
||||
@@ -0,0 +1,3 @@
|
||||
This command can be used to remove the stored image posts from one member or from the whole server.
|
||||
The only argument is an optional member mention, if this is not present all image posts are affected.
|
||||
It will also remove any reposts which were tracked for the found posts.
|
||||
@@ -0,0 +1 @@
|
||||
The member to remove image posts of
|
||||
@@ -0,0 +1 @@
|
||||
Removes the tracked reposts from the database
|
||||
@@ -0,0 +1,3 @@
|
||||
This command can be used to remove the tracked reposts of a given member of the whole server.
|
||||
The only argument is an optional member mention, if this is not present all reposts are affected.
|
||||
It will only remove the tracked reposts, the stored image posts will remain.
|
||||
@@ -0,0 +1 @@
|
||||
The member to remove reposts of
|
||||
@@ -0,0 +1 @@
|
||||
Your position
|
||||
@@ -0,0 +1 @@
|
||||
Reposts
|
||||
@@ -0,0 +1 @@
|
||||
Name
|
||||
@@ -0,0 +1 @@
|
||||
No reposts
|
||||
@@ -0,0 +1 @@
|
||||
Rank
|
||||
@@ -0,0 +1 @@
|
||||
Shows the channel groups and the channels in which repost checks are enabled
|
||||
@@ -0,0 +1,2 @@
|
||||
This command can be used to show in which channel groups and channels the repost check is enabled.
|
||||
This will show the channel mentions in case they exist, and only the channel ID it it doesnt.
|
||||
@@ -0,0 +1 @@
|
||||
Channel groups
|
||||
@@ -0,0 +1 @@
|
||||
No channel groups
|
||||
@@ -0,0 +1 @@
|
||||
No channels
|
||||
@@ -0,0 +1 @@
|
||||
Repost detection
|
||||
@@ -0,0 +1 @@
|
||||
Repost detection
|
||||
@@ -0,0 +1 @@
|
||||
Repost check channel not found.
|
||||
Reference in New Issue
Block a user