mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-15 20:16:34 +00:00
[AB-191] grouping invite links in invite link deletion notification
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package dev.sheldan.abstracto.moderation.models.template.listener;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public class DeletedInvite {
|
||||
private String code;
|
||||
private Long count;
|
||||
}
|
||||
@@ -13,10 +13,10 @@ import java.util.List;
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
public class InviteDeletedModel {
|
||||
public class DeletedInvitesNotificationModel {
|
||||
private Guild guild;
|
||||
private TextChannel channel;
|
||||
private Member author;
|
||||
private Message message;
|
||||
private List<String> invites;
|
||||
private List<DeletedInvite> invites;
|
||||
}
|
||||
Reference in New Issue
Block a user