created concept of auto load macros, these are macro files which are loaded automatically on startup and can be used in any template

changed assignable post config to be a full emote instead
This commit is contained in:
Sheldan
2020-08-16 12:40:41 +02:00
parent fd4d784081
commit fbb36ae9d5
12 changed files with 127 additions and 5 deletions

View File

@@ -1,21 +1,19 @@
package dev.sheldan.abstracto.assignableroles.models.templates;
import dev.sheldan.abstracto.core.models.database.ARole;
import dev.sheldan.abstracto.core.models.FullEmote;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import net.dv8tion.jda.api.entities.Emote;
import net.dv8tion.jda.api.entities.Role;
@Getter
@Setter
@Builder
public class AssignablePostConfigRole {
private Emote emote;
private String description;
private Integer position;
private Boolean inline;
private ARole role;
private FullEmote emote;
private Role awardedRole;
}