mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-03 15:27:07 +00:00
[AB-205] making exception message for command not found configurable
making feature config classes more unified in the naming
This commit is contained in:
@@ -13,7 +13,7 @@ import java.util.List;
|
||||
* {@link FeatureConfig} implementation to define the EmoteTracking feature.
|
||||
*/
|
||||
@Component
|
||||
public class EmoteTrackingFeature implements FeatureConfig {
|
||||
public class EmoteTrackingFeatureConfig implements FeatureConfig {
|
||||
|
||||
/**
|
||||
* {@link FeatureDefinition} represents the feature uniquely
|
||||
@@ -24,7 +24,7 @@ public class EmoteTrackingFeature implements FeatureConfig {
|
||||
}
|
||||
|
||||
/**
|
||||
* This feature contains three feature modes. For explanation of them check {@link EmoteTrackingFeature}
|
||||
* This feature contains three feature modes. For explanation of them check {@link EmoteTrackingFeatureConfig}
|
||||
* @return list of {@link FeatureMode} handled by this feature.
|
||||
*/
|
||||
@Override
|
||||
@@ -4,7 +4,7 @@ import dev.sheldan.abstracto.core.config.FeatureMode;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* {@link FeatureMode}s for {@link EmoteTrackingFeature}. These modes include:
|
||||
* {@link FeatureMode}s for {@link EmoteTrackingFeatureConfig}. These modes include:
|
||||
* AUTO_TRACK: This controls a listener which listens for the emote events of a server, and automatically creates/updates/marks as deleted instances in the database if the respective event happens
|
||||
* Influences:
|
||||
* EXTERNAL_EMOTES: Enables the tracking of emotes which are not from the server the feature is enabled in. This feature alone only enables to track emotes with the `trackEmote` command and makes the command `externalEmoteStats` (and more) available
|
||||
|
||||
@@ -3,6 +3,7 @@ package dev.sheldan.abstracto.statistic.emote.model.database;
|
||||
import dev.sheldan.abstracto.core.models.Fakeable;
|
||||
import dev.sheldan.abstracto.core.models.ServerSpecificId;
|
||||
import dev.sheldan.abstracto.core.models.database.AServer;
|
||||
import dev.sheldan.abstracto.statistic.emote.config.EmoteTrackingFeatureConfig;
|
||||
import lombok.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
@@ -10,7 +11,7 @@ import java.io.Serializable;
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* The instance of an emote which is being tracked by {@link dev.sheldan.abstracto.statistic.emote.config.EmoteTrackingFeature}.
|
||||
* The instance of an emote which is being tracked by {@link EmoteTrackingFeatureConfig}.
|
||||
* This represents an emote by its unique ID and the respective server its being tracked in. This emote might not be part of the server
|
||||
* and might have been deleted.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user