[AB-166] refactored conditions to not use exceptions for their regular case, split up feature mode exception into condition and exception, if the conditions need to be checked somewhere else, a separate exception is required, fixed command not being disabled properly in channels

This commit is contained in:
Sheldan
2020-11-21 22:07:34 +01:00
parent 04f1db2408
commit 448d555dba
39 changed files with 259 additions and 208 deletions

View File

@@ -20,6 +20,7 @@ public interface TrackedEmoteService {
TrackedEmoteOverview loadTrackedEmoteOverview(Guild guild);
TrackedEmoteOverview loadTrackedEmoteOverview(Guild guild, Boolean showTrackingDisabled);
TrackedEmote createFakeTrackedEmote(Emote emote, Guild guild);
TrackedEmote createFakeTrackedEmote(Emote emote, Guild guild, boolean external);
void deleteTrackedEmote(TrackedEmote trackedEmote);
void resetEmoteStats(Guild guild);
void disableEmoteTracking(Guild guild);