mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-05 17:07:03 +00:00
removed decay feature boolean from myWarnings, because only automatic decay is an additional feature
fixed post target for kicking fixed casing for mod mail post targets added initial version of the ascii doctor documentation
This commit is contained in:
@@ -39,7 +39,7 @@ import java.util.concurrent.ExecutionException;
|
||||
public class ModMailThreadServiceBean implements ModMailThreadService {
|
||||
|
||||
public static final String MODMAIL_CATEGORY = "modmailCategory";
|
||||
public static final String MODMAIL_LOG_POSTTARGET = "modmaillog";
|
||||
public static final String MODMAIL_LOG_POSTTARGET = "modmailLog";
|
||||
@Autowired
|
||||
private ModMailThreadManagementService modMailThreadManagementService;
|
||||
|
||||
@@ -143,7 +143,7 @@ public class ModMailThreadServiceBean implements ModMailThreadService {
|
||||
.roles(rolesToPing)
|
||||
.build();
|
||||
MessageToSend messageToSend = templateService.renderEmbedTemplate("modmail_notification_message", modMailNotificationModel);
|
||||
List<CompletableFuture<Message>> modmailping = postTargetService.sendEmbedInPostTarget(messageToSend, "modmailping", thread.getServer().getId());
|
||||
List<CompletableFuture<Message>> modmailping = postTargetService.sendEmbedInPostTarget(messageToSend, "modmailPing", thread.getServer().getId());
|
||||
CompletableFuture.allOf(modmailping.toArray(new CompletableFuture[0])).whenComplete((aVoid, throwable) -> {
|
||||
if(throwable != null) {
|
||||
log.error("Failed to send mod mail thread notification ping.", throwable);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
abstracto.postTargets.modmail=modmaillog,modmailping
|
||||
abstracto.postTargets.modmail=modmailLog,modmailPing
|
||||
abstracto.emoteNames.readReaction=readReaction
|
||||
abstracto.defaultEmotes.readReaction=\uD83D\uDC40
|
||||
Reference in New Issue
Block a user