mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-18 04:50:38 +00:00
[AB-347] adding support for multiple and generic attachments to modmail
fixing editing messages with multiple embeds fixing message limit also bein imposed on pure embed count
This commit is contained in:
@@ -8,6 +8,9 @@ import lombok.Setter;
|
||||
import net.dv8tion.jda.api.entities.Member;
|
||||
import net.dv8tion.jda.api.entities.Message;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Model used to render the response by staff members to the DM channel with the user
|
||||
*/
|
||||
@@ -36,6 +39,8 @@ public class ModMailModeratorReplyModel {
|
||||
* Whether or not the reply should be shown anonymous
|
||||
*/
|
||||
private Boolean anonymous;
|
||||
private List<String> attachedImageUrls;
|
||||
private Map<String, String> remainingAttachments;
|
||||
/**
|
||||
* The {@link ModMailThread} to reply to
|
||||
*/
|
||||
|
||||
@@ -7,6 +7,7 @@ import net.dv8tion.jda.api.entities.Member;
|
||||
import net.dv8tion.jda.api.entities.Message;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Model used to render the response by the user to the mod mail thread channel.
|
||||
@@ -23,6 +24,8 @@ public class ModMailUserReplyModel {
|
||||
* The {@link Message} which was posted, which contains all the possible information
|
||||
*/
|
||||
private Message postedMessage;
|
||||
private List<String> attachedImageUrls;
|
||||
private Map<String, String> remainingAttachments;
|
||||
/**
|
||||
* List of {@link Member} which are registered as subscribers for a particular mod mail thread and will be pinged
|
||||
* when the user sends a new message
|
||||
|
||||
Reference in New Issue
Block a user