mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-27 14:23:56 +00:00
added ability to define and use default emotes (introduced them in starboard/embed deletion/command reactions/suggestions)
fixed post target validation for suggestions
This commit is contained in:
@@ -7,7 +7,10 @@ import net.dv8tion.jda.api.entities.MessageReaction;
|
||||
public interface EmoteService {
|
||||
boolean isEmoteUsableByBot(Emote emote);
|
||||
AEmote buildAEmoteFromReaction(MessageReaction.ReactionEmote reaction);
|
||||
String getEmoteAsMention(AEmote emote, Long serverId, String defaultText) ;
|
||||
String getEmoteAsMention(AEmote emote, Long serverId) ;
|
||||
void throwIfEmoteDoesNotExist(String emoteKey, Long serverId) ;
|
||||
String getEmoteAsMention(AEmote emote, Long serverId, String defaultText);
|
||||
String getEmoteAsMention(AEmote emote, Long serverId);
|
||||
String getUsableEmoteOrDefault(Long serverId, String name);
|
||||
void throwIfEmoteDoesNotExist(String emoteKey, Long serverId);
|
||||
AEmote getEmoteOrFakeEmote(String emoteKey, Long serverId);
|
||||
String getDefaultEmote(String emoteKey);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package dev.sheldan.abstracto.core.service.management;
|
||||
|
||||
import dev.sheldan.abstracto.core.exception.ConfigurationException;
|
||||
import dev.sheldan.abstracto.core.exception.EmoteException;
|
||||
import dev.sheldan.abstracto.core.models.database.AEmote;
|
||||
import dev.sheldan.abstracto.core.models.database.AServer;
|
||||
import net.dv8tion.jda.api.entities.Emote;
|
||||
|
||||
Reference in New Issue
Block a user