[AB-191] grouping invite links in invite link deletion notification

This commit is contained in:
Sheldan
2021-02-14 19:09:53 +01:00
parent 94532be54d
commit a536a0c2b3
5 changed files with 35 additions and 9 deletions

View File

@@ -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;
}

View File

@@ -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;
}