@@ -41,7 +41,6 @@ public final class Config {
4141 private final String openaiApiKey ;
4242 private final String sourceCodeBaseUrl ;
4343 private final JShellConfig jshell ;
44- private final HelperPruneConfig helperPruneConfig ;
4544 private final FeatureBlacklistConfig featureBlacklistConfig ;
4645 private final String selectRolesChannelPattern ;
4746 private final String memberCountCategoryPattern ;
@@ -89,8 +88,6 @@ private Config(@JsonProperty(value = "token", required = true) String token,
8988 @ JsonProperty (value = "jshell" , required = true ) JShellConfig jshell ,
9089 @ JsonProperty (value = "memberCountCategoryPattern" ,
9190 required = true ) String memberCountCategoryPattern ,
92- @ JsonProperty (value = "helperPruneConfig" ,
93- required = true ) HelperPruneConfig helperPruneConfig ,
9491 @ JsonProperty (value = "featureBlacklist" ,
9592 required = true ) FeatureBlacklistConfig featureBlacklistConfig ,
9693 @ JsonProperty (value = "selectRolesChannelPattern" ,
@@ -124,7 +121,6 @@ private Config(@JsonProperty(value = "token", required = true) String token,
124121 this .openaiApiKey = Objects .requireNonNull (openaiApiKey );
125122 this .sourceCodeBaseUrl = Objects .requireNonNull (sourceCodeBaseUrl );
126123 this .jshell = Objects .requireNonNull (jshell );
127- this .helperPruneConfig = Objects .requireNonNull (helperPruneConfig );
128124 this .featureBlacklistConfig = Objects .requireNonNull (featureBlacklistConfig );
129125 this .selectRolesChannelPattern = Objects .requireNonNull (selectRolesChannelPattern );
130126 }
@@ -382,15 +378,6 @@ public JShellConfig getJshell() {
382378 return jshell ;
383379 }
384380
385- /**
386- * Gets the config for automatic pruning of helper roles.
387- *
388- * @return the configuration
389- */
390- public HelperPruneConfig getHelperPruneConfig () {
391- return helperPruneConfig ;
392- }
393-
394381 /**
395382 * The configuration of blacklisted features.
396383 *
0 commit comments