changed catch block in join listener for Exception, so the listener dont interrupt one another

fixed join template
added join listener to check if a joined user should be muted
changed cached message to be an intant instead
fixed wrong id in mute table
moved the timestamps for mute notifications to the footer
fixed a case for message embeds, when the embed does not have a description
This commit is contained in:
Sheldan
2020-04-24 20:04:19 +02:00
parent b41a596acd
commit 0f8a39a336
15 changed files with 78 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.time.OffsetDateTime;
import java.time.Instant;
import java.util.List;
@Getter
@@ -16,7 +16,7 @@ public class CachedMessage {
private Long channelId;
private Long messageId;
private Long authorId;
private OffsetDateTime timeCreated;
private Instant timeCreated;
private String content;
private List<CachedEmbed> embeds;
private List<String> attachmentUrls;